Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How do I get top to always show the descriptive version

Discussion in 'General Discussion' started by BianchiDude, Jul 29, 2005.

  1. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    166
    On one server I have:
    9037 nobody 0 0 10600 10M 9964 S 0.4 1.1 0:00 /usr/local/apache/bin/httpd -DSSL
    9091 nobody 9 0 10596 10M 9956 S 0.4 1.1 0:00 /usr/local/apache/bin/httpd -DSSL
    9206 nobody 9 0 10596 10M 9956 S 0.4 1.1 0:00 /usr/local/apache/bin/httpd -DSSL
    10756 mailnull 15 0 3056 2988 2164 S 0.4 0.3 0:00 /usr/sbin/exim -bd -q5m
    11119 nobody 9 0 10584 10M 10008 S 0.4 1.1 0:00 /usr/local/apache/bin/httpd -DSSL
    11141 root 15 0 1536 1536 1248 R 0.4 0.1 0:00 /usr/sbin/exim -Mc 1DyWqF-0002nU-8f

    On the other I have:
    11230 root 14 0 23368 18M 4960 S 15.0 2.1 0:55 spamd
    31404 mailnull 15 0 1092 1092 824 R 5.6 0.1 0:00 exim
    721 root 9 0 568 528 480 S 0.9 0.0 162:40 syslogd
    15887 root 10 0 1464 1412 1176 S 0.9 0.1 39:08 antirelayd
    12901 nobody 9 0 25724 21M 12220 S 0.9 2.4 1:51 httpd
    1 root 0 0 468 428 408 S 0.0 0.0 14:50 init
    2 root 9 0 0 0 0 SW 0.0 0.0 0:04 keventd

    How do I get top on the second one to read like the first?
     
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    You can use top with -c command line switch ..then create an alias in .bashrc file to make it permanent....alternatively htop is a nice tool to view process info similar to top with extended functionality..

    http://htop.sourceforge.net/
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Or, when in top, press c then press W and it will save your settings for the next time you run top.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice