CrazyEngineers
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • sriramchandrk

    MemberNov 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
    size of the process (code+data+stack).
    If the program ends even before you can do anything, try this
    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
    Are you sure? This action cannot be undone.
    Cancel
  • anuragh27crony

    MemberNov 3, 2008

    hmm... nice reply... thanks for information ...sriram :smile:
    Are you sure? This action cannot be undone.
    Cancel
  • sriramchandrk

    MemberNov 3, 2008

    anuragh27crony
    hmm... nice reply... thanks for information ...sriram :smile:
    Thanks Anurag
    Are you sure? This action cannot be undone.
    Cancel
  • Raviteja.g

    MemberNov 3, 2008

    thanks for reply
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register