Help Need How 2 get the commands sended by my app 2 internet

General discussion about PLUC and Linux in Pakistan.
Post Reply
swatiantigers
Lance Naik
Posts: 44
Joined: Tue Feb 22, 2005 11:54 am
Location: swat
Contact:

Help Need How 2 get the commands sended by my app 2 internet

Post by swatiantigers »

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
Image
dajazzguy
Naik
Posts: 65
Joined: Sat May 31, 2003 11:34 pm
Location: karachi
Contact:

Strace

Post by dajazzguy »

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
Farhan Diwan
RHCE, Certified MySQL DBA
swatiantigers
Lance Naik
Posts: 44
Joined: Tue Feb 22, 2005 11:54 am
Location: swat
Contact:

Re : how to get commands

Post by swatiantigers »

Salam & hi

thanx for the reply. can you tell me is there any equivalent for windows?



thanx alot
Image
Post Reply