Linux
how to make sure a program or shared library is compiled with -g, in linux
I want to make sure my execute program is debug开发者_高级运维-able, what command can get the infomation.I am a fan of using file to get information on executables and shared libraries.[详细]
2023-04-12 22:08 分类:问答output of forking process
开发者_开发技巧hello every one I want to ask a question about forking here is the code #include<stdio.h>[详细]
2023-04-12 21:53 分类:问答List contents of multiple jar files
I am searching for a .class file inside a bunch of jars. jar tf abc.jar works for one file. I tried find -name \"*.jar\" | xargs jar tf[详细]
2023-04-12 21:23 分类:问答How to do port forwarding properly with VirtualBox?
I have a trouble connecting to a guest OS in VirtualBox. My environtment is as follows: Host: MacOSX (Lion)[详细]
2023-04-12 21:21 分类:问答PACKET_MMAP data offset
I am writing the code to send an UDP packet using PACKET_TX_RING ring, and I don\'t understand the example code described here:[详细]
2023-04-12 20:56 分类:问答How can I check the data transfer on a network interface in python?
There is a socket method for getting the IP of a given network interface: import socket import fcntl import struct[详细]
2023-04-12 20:46 分类:问答How to distinguish USB and (S)ATA device in the kernel scsi_device structure?
According to the kernel structure struct scsi_device used by SCSI drivers (kernel 2.6.23): http://lxr.linux.no/linux+v2.6.23/include/scsi/scsi_device.h#L49[详细]
2023-04-12 20:27 分类:问答Replacing shared object (.so file) while main program is running
I have a shared object gateway.so (in Linux/C). Anda.out application is using it. QUESTION A I guess: w开发者_运维百科hen process a.out starts, the loader loads the gateway.so(I am not using dl fun[详细]
2023-04-12 20:12 分类:问答Upgrading Subversion on Debian Lenny from 1.5.1 to latest (1.7.0)
I am trying to upgrade Subversion on my webserver, Debian Lenny machine. I do an apt-get install subversion and it tells me subversion is already at the newest version. The latest version on Subversio[详细]
2023-04-12 20:08 分类:问答How to convert documents from .doc to text
I have been pondering writing this question for quite some time. I work for a small-sized news corporation in Vietnam.[详细]
2023-04-12 19:43 分类:问答