Replies
Welcome, guest
Join CrazyEngineers to reply, ask questions, and participate in conversations.
CrazyEngineers powered by Jatra Community Platform
-
@sriramchandrk-wt4rlR • Nov 2, 2008
If the program is still running
use this command:
ps -eo vsz -o fname |grep <Command Name>
Example to see size for snmpd (SNMP Daemon)
$ps -eo vsz -o fname|grep snmpd
8592 snmpd
The first column will give you SIZE, according to manual
SIZE is the virtual
If the program ends even before you can do anything, try this
size of the process (code+data+stack).
Press ^Z when the program starts.
Now the program is in stop state, you could run your ps command to see how much your process uses.
Once you are done use 'fg' command to resume the stopped process.
Thanks & Regards
Sriram -
@anuragh27crony-mb8hAE • Nov 3, 2008
hmm... nice reply... thanks for information ...sriram :smile: -
@sriramchandrk-wt4rlR • Nov 3, 2008
Thanks Anuraganuragh27cronyhmm... nice reply... thanks for information ...sriram :smile: -
@ravitejag-02nJVr • Nov 3, 2008
thanks for reply