Using the top command

Dan Hilliker dan at hilliker.com
Thu Jan 23 21:36:38 EST 2003


I was setting up a Linux box and subscribed to this email list last night.
After browsing quite a few emails/forums to date, I have a few questions for
someone that is hopefully Linux smarter than me.

First off...when I use the ./bf1942_lnxded command to run the server all
seems fine, but how do I detach it from my console to keep the server
ruinning? I thought it was CTRL + A + D to detach and CTRL + C to kill the
server when it is in my console running.  I can't seem to get the server
detached. But I think that CTRL + C kills it or has it...notice my below
pasted info from using the "top" command...the last 5 PID's are the one I
have no idea what they are...could they be ghost of my thought to be killed
BF1942 server running from when I was testing the server?  Should I kill
these or is there a way to find out exactly what they are and their purpose?
Thanks for the help in advance.


  9:24pm  up 9 days, 15:44,  1 user,  load average: 0.01, 0.01, 0.00
83 processes: 81 sleeping, 2 running, 0 zombie, 0 stopped
CPU states:  0.0% user,  0.5% system,  0.0% nice, 99.4% idle
Mem:  1023108K av,  772936K used,  250172K free,       0K shrd,   94172K
buff
Swap: 1020116K av,       0K used, 1020116K free                  542636K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
23346 root      15   0  1168 1168   908 R     0.5  0.1   0:01 top
    1 root      15   0   508  508   440 S     0.0  0.0   0:06 init
    2 root      15   0     0    0     0 SW    0.0  0.0   0:00 keventd
    3 root      15   0     0    0     0 SW    0.0  0.0   0:00 kapmd
    4 root      34  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU0
    5 root      15   0     0    0     0 SW    0.0  0.0   0:08 kswapd
    6 root      15   0     0    0     0 SW    0.0  0.0   0:00 bdflush
    7 root      15   0     0    0     0 SW    0.0  0.0   0:00 kupdated
    8 root      25   0     0    0     0 SW    0.0  0.0   0:00 mdrecoveryd
   12 root      15   0     0    0     0 SW    0.0  0.0   0:11 kjournald
   88 root      15   0     0    0     0 SW    0.0  0.0   0:00 khubd
  211 root      15   0     0    0     0 SW    0.0  0.0   0:00 kjournald
  540 root      15   0     0    0     0 SW    0.0  0.0   0:00 eth0
  781 root      15   0   584  584   488 S     0.0  0.0   0:03 syslogd
  802 root      15   0  1112 1112   452 S     0.0  0.1   0:00 klogd
  864 named     15   0  2780 2780  2012 S     0.0  0.2   0:00 named
  866 named     15   0  2780 2780  2012 S     0.0  0.2   0:00 named
  868 named     15   0  2780 2780  2012 S     0.0  0.2   0:00 named
  869 named     15   0  2780 2780  2012 S     0.0  0.2   0:00 named
  870 named     15   0  2780 2780  2012 S     0.0  0.2   0:00 named






More information about the Bf1942 mailing list