hi
i wants to know on windows that what commands are sended by my application to the internet for example i wants to get the commands of msn. or how to get the commands sended by my app to the usb and serial port. i think i have to use any tool for it. please help me wants to write some applications.
thanx alot
Help Need How 2 get the commands sended by my app 2 internet
-
- Lance Naik
- Posts: 44
- Joined: Tue Feb 22, 2005 11:54 am
- Location: swat
- Contact:
Strace
you can use strace command to see the system calls that is particular program / process is passing to the kernel.
get the pid of the process by using the command
ps aux | grep programname
and u can see the program function calls bu using
strace -p pidofprogramtowatch
consult the man pages for more info
get the pid of the process by using the command
ps aux | grep programname
and u can see the program function calls bu using
strace -p pidofprogramtowatch
consult the man pages for more info
Farhan Diwan
RHCE, Certified MySQL DBA
RHCE, Certified MySQL DBA
-
- Lance Naik
- Posts: 44
- Joined: Tue Feb 22, 2005 11:54 am
- Location: swat
- Contact:
Re : how to get commands
Salam & hi
thanx for the reply. can you tell me is there any equivalent for windows?
thanx alot
thanx for the reply. can you tell me is there any equivalent for windows?
thanx alot