Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-20-2007, 06:47 PM
|
#1
|
LQ Newbie
Registered: Oct 2007
Posts: 28
Rep:
|
ps x is fat!
Hello folks-
My first post on linuxq's.com. Looks like a pretty popular site.
I am running a fairly new install of Slack 12 and am pretty sure I have a lot of stuff running that I don't need. For examply, I have jfs and xfs 'stuff' running. All my partitions are reiser. This is my home pc running DSL (no, not damn small but internet DSL) via ethernet (fiber). The only 'extra' things I will do is serve some files via ftp.
I've found several references to deamons, services, etc but cannot find everything listed to know whether or not I need it. My PC is a PIII500 so I don't want anything running I don't need.
Below is output from ps x:
PID TTY STAT TIME COMMAND
1 ? Ss 0:01 init [3]
2 ? SN 0:00 [ksoftirqd/0]
3 ? S< 0:00 [events/0]
4 ? S< 0:00 [khelper]
5 ? S< 0:00 [kthread]
82 ? S< 0:00 [kblockd/0]
83 ? S< 0:00 [kacpid]
138 ? S< 0:00 [ata/0]
139 ? S< 0:00 [ata_aux]
140 ? S< 0:00 [ksuspend_usbd]
143 ? S< 0:00 [khubd]
145 ? S< 0:00 [kseriod]
157 ? S< 0:00 [khpsbpkt]
165 ? S 0:00 [pdflush]
166 ? S 0:00 [pdflush]
167 ? S< 0:00 [kswapd0]
168 ? S< 0:00 [aio/0]
169 ? S< 0:00 [jfsIO]
170 ? S< 0:00 [jfsCommit]
171 ? S< 0:00 [jfsSync]
172 ? S< 0:00 [xfslogd/0]
173 ? S< 0:00 [xfsdatad/0]
174 ? S< 0:00 [ocfs2_wq]
175 ? S< 0:00 [user_dlm]
855 ? S< 0:00 [scsi_tgtd/0]
904 ? S< 0:00 [exec-osm/0]
909 ? S< 0:00 [block-osm/0]
961 ? S< 0:00 [kcryptd/0]
965 ? S< 0:00 [reiserfs/0]
1035 ? S<s 0:01 /sbin/udevd --daemon
1350 ? S< 0:00 [kgameportd]
2331 ? S< 0:00 [kpsmoused]
2397 ? Ss 0:00 /usr/sbin/syslogd
2401 ? Ss 0:00 /usr/sbin/klogd -c 3 -x
2742 ? Ss 0:00 /usr/sbin/inetd
2748 ? Ss 0:00 /usr/sbin/sshd
2768 ? S 0:00 hald-runner
2789 ? S 0:02 hald-addon-storage: polling /dev/hdc (every 2 sec)
2791 ? S 0:00 hald-addon-storage: polling /dev/hdd (every 2 sec)
2802 ? Ss 0:00 /usr/sbin/cupsd
2807 ? S 0:00 /usr/sbin/crond -l10
2831 ? Ss 0:00 /usr/sbin/gpm -m /dev/mouse -t imps2
2833 tty1 Ss 0:00 -bash
2834 tty2 Ss+ 0:00 /sbin/agetty 38400 tty2 linux
2835 tty3 Ss+ 0:00 /sbin/agetty 38400 tty3 linux
2836 tty4 Ss+ 0:00 /sbin/agetty 38400 tty4 linux
2837 tty5 Ss+ 0:00 /sbin/agetty 38400 tty5 linux
2838 tty6 Ss+ 0:00 /sbin/agetty 38400 tty6 linux
2883 tty1 S+ 0:00 /bin/sh /usr/bin/startx
2899 tty1 S+ 0:00 xinit /root/.xinitrc -- -auth /root/.serverauth.2883
2900 tty7 S<s+ 0:46 X :0 -auth /root/.serverauth.2883
2904 tty1 S 0:02 /usr/bin/fluxbox
2959 ? Ss 0:00 /usr/sbin/pppd pty /usr/sbin/pppoe -p /var/run/pppoe.conf-pppoe.pid.pppoe -I eth0 -$
3022 ? Ss 0:00 rxvt
3023 pts/0 Ss 0:00 bash
3026 pts/0 S+ 0:00 /bin/sh ./seamonkey
3034 pts/0 S+ 0:00 /bin/sh ./run-mozilla.sh ./seamonkey-bin
3039 pts/0 Sl+ 1:58 ./seamonkey-bin
3178 ? Ss 0:00 rxvt
3179 pts/2 Ss 0:00 bash
3183 ? Ss 0:00 rxvt
3184 pts/3 Ss+ 0:00 bash
3186 ? Ss 0:00 rxvt
3187 pts/4 Ss 0:00 bash
3208 pts/2 S+ 0:00 nano rc.0
3225 pts/4 R+ 0:00 ps x
Anyone want to look this over and comment?
Last edited by silver007; 10-20-2007 at 06:57 PM.
|
|
|
10-20-2007, 08:55 PM
|
#2
|
Senior Member
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Rep:
|
It seems that everything starting with a 'k' are processes supporting the kernel, and they are normal. You are correct, the jfs and xfs stuff probably shouldn't be running. Other than that everything seems to be ok.
I should note that, excepting the X apps (seamonkey, rxvt etc), most of those show up for me to, but not in a "ps x". All the kernel helpers show up in a "ps -A", but not a "ps x". Weird, but I think that yours is the "correct" behavior.
|
|
|
10-21-2007, 07:31 PM
|
#3
|
LQ Newbie
Registered: Oct 2007
Posts: 28
Original Poster
Rep:
|
I've looked in all my rc files and xfs/jfs stuff isn't listed anywhere so I'm really shaking my head there. Shouldn't anything running at boot be in one of those files?
|
|
|
10-22-2007, 09:54 AM
|
#4
|
Member
Registered: Nov 2003
Distribution: Arch
Posts: 31
Rep:
|
Quote:
Originally Posted by silver007
I've looked in all my rc files and xfs/jfs stuff isn't listed anywhere so I'm really shaking my head there. Shouldn't anything running at boot be in one of those files?
|
Anything between [] in the output of ps is a kernel thread. In the case of your xfs/jfs processes, they are there because your kernel was compiled with support for the xfs/jfs file systems. The only way to get rid of them, is to recompile your kernel without support for those file systems.
They are not started by your init scripts. They are automatically fired by the kernel.
|
|
|
All times are GMT -5. The time now is 04:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|