LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 10-20-2007, 06:47 PM   #1
silver007
LQ Newbie
 
Registered: Oct 2007
Posts: 28

Rep: Reputation: 0
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.
 
Old 10-20-2007, 08:55 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
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.
 
Old 10-21-2007, 07:31 PM   #3
silver007
LQ Newbie
 
Registered: Oct 2007
Posts: 28

Original Poster
Rep: Reputation: 0
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?
 
Old 10-22-2007, 09:54 AM   #4
peart
Member
 
Registered: Nov 2003
Distribution: Arch
Posts: 31

Rep: Reputation: 16
Quote:
Originally Posted by silver007 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kdevelop and FAT Dasc Programming 2 12-20-2004 10:10 AM
i want to compile fat file system module and get fat.o working ramya272 Linux - Newbie 9 02-26-2004 11:41 AM
Fat 32 Ian_Hawdon Linux - Hardware 3 02-19-2004 11:06 AM
FAT HD and LAN defubar Linux - Networking 4 02-07-2004 12:46 PM
Linux supports fat or fat 32? dark_light Linux - General 3 04-25-2002 01:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration