LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-01-2005, 04:32 AM   #16
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35

Quote:
And make sure the same ammount or types of services and apps are running on both too.
Have a look at the output of my "ps -aux".
Only console:
Code:
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  8.1  0.0   480  240 ?        S    17:12   0:04 init [3]       
root         2  0.0  0.0     0    0 ?        S    17:12   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        SN   17:12   0:00 [ksoftirqd_CPU0]
root         4  0.0  0.0     0    0 ?        S    17:12   0:00 [kswapd]
root         5  0.0  0.0     0    0 ?        S    17:12   0:00 [bdflush]
root         6  0.0  0.0     0    0 ?        S    17:12   0:00 [kupdated]
root        10  0.0  0.0     0    0 ?        S<   17:12   0:00 [mdrecoveryd]
root        11  0.0  0.0     0    0 ?        S    17:12   0:00 [kjournald]
root        40  0.0  0.0     0    0 ?        S    17:12   0:00 [kjournald]
root        61  0.0  0.2  1404  588 ?        Ss   17:12   0:00 /usr/sbin/syslogd
root        64  0.0  0.1  1344  448 ?        Ss   17:12   0:00 /usr/sbin/klogd -c 3 -x
root       104  0.2  0.5  3140 1408 ?        Ss   17:12   0:00 /usr/sbin/sshd
root       112  0.0  0.2  1456  528 ?        S    17:12   0:00 /usr/sbin/crond -l10
root       131  0.0  0.2  1388  516 ?        Ss   17:12   0:00 /usr/sbin/gpm -m /dev/mouse -t imps2
root       133  0.1  0.6  2676 1556 tty1     Ss   17:12   0:00 -bash
root       134  0.0  0.1  1336  468 tty2     Ss+  17:12   0:00 /sbin/agetty 38400 tty2 linux
root       135  0.0  0.1  1336  468 tty3     Ss+  17:12   0:00 /sbin/agetty 38400 tty3 linux
root       136  0.0  0.1  1336  468 tty4     Ss+  17:12   0:00 /sbin/agetty 38400 tty4 linux
root       137  0.0  0.1  1336  468 tty5     Ss+  17:12   0:00 /sbin/agetty 38400 tty5 linux
root       138  0.0  0.1  1336  468 tty6     Ss+  17:12   0:00 /sbin/agetty 38400 tty6 linux
KDE3.2:
Code:
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  3.1  0.0   480  240 ?        S    17:12   0:04 init [3]       
root         2  0.0  0.0     0    0 ?        S    17:12   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        SN   17:12   0:00 [ksoftirqd_CPU0]
root         4  0.0  0.0     0    0 ?        S    17:12   0:00 [kswapd]
root         5  0.0  0.0     0    0 ?        S    17:12   0:00 [bdflush]
root         6  0.0  0.0     0    0 ?        S    17:12   0:00 [kupdated]
root        10  0.0  0.0     0    0 ?        S<   17:12   0:00 [mdrecoveryd]
root        11  0.0  0.0     0    0 ?        S    17:12   0:00 [kjournald]
root        40  0.0  0.0     0    0 ?        S    17:12   0:00 [kjournald]
root        61  0.0  0.2  1404  588 ?        Ss   17:12   0:00 /usr/sbin/syslogd
root        64  0.0  0.1  1344  448 ?        Ss   17:12   0:00 /usr/sbin/klogd -c 3 -x
root       104  0.0  0.5  3140 1408 ?        Ss   17:12   0:00 /usr/sbin/sshd
root       112  0.0  0.2  1456  528 ?        S    17:12   0:00 /usr/sbin/crond -l10
root       131  0.0  0.2  1388  516 ?        Ss   17:12   0:00 /usr/sbin/gpm -m /dev/mouse -t imps2
root       133  0.0  0.6  2684 1584 tty1     Ss   17:12   0:00 -bash
root       134  0.0  0.1  1336  468 tty2     Ss+  17:12   0:00 /sbin/agetty 38400 tty2 linux
root       135  0.0  0.1  1336  468 tty3     Ss+  17:12   0:00 /sbin/agetty 38400 tty3 linux
root       136  0.0  0.1  1336  468 tty4     Ss+  17:12   0:00 /sbin/agetty 38400 tty4 linux
root       137  0.0  0.1  1336  468 tty5     Ss+  17:12   0:00 /sbin/agetty 38400 tty5 linux
root       138  0.0  0.1  1336  468 tty6     Ss+  17:12   0:00 /sbin/agetty 38400 tty6 linux
root       154  0.0  0.4  2400 1216 tty1     S+   17:13   0:00 /bin/sh /usr/X11R6/bin/startx
root       166  0.0  0.2  2156  628 tty1     S+   17:13   0:00 xinit /root/.xinitrc --
root       167  3.8  5.9 83876 15248 ?       S<L  17:13   0:02 X :0
root       172  0.0  0.4  2388 1172 tty1     S    17:13   0:00 sh /root/.xinitrc
root       173  0.0  0.4  2408 1220 tty1     S    17:13   0:00 /bin/sh /opt/kde/bin/startkde
root       186  0.1  6.1 29940 15736 ?       Ss   17:13   0:00 kdeinit: Running...      
root       189  0.1  6.2 29924 16012 ?       S    17:13   0:00 kdeinit: dcopserver --nosid
root       191  0.2  6.6 31804 17100 ?       S    17:13   0:00 kdeinit: klauncher       
root       194  1.8  7.9 33952 20252 ?       S    17:13   0:00 kdeinit: kded            
root       202  1.8  7.9 32720 20436 ?       S    17:13   0:00 kdeinit: kxkb            
root       213  0.5  8.2 37048 21116 ?       S    17:14   0:00 kdeinit: knotify         
root       214  0.0  0.1  1332  324 tty1     S    17:14   0:00 kwrapper ksmserver
root       216  0.5  7.2 31488 18584 ?       S    17:14   0:00 kdeinit: ksmserver       
root       217  3.6  8.0 33020 20728 ?       S    17:14   0:01 kdeinit: kwin -session 117f000001000111026321700000003150000_1114938660_817019
root       219  1.4  7.7 32312 19844 ?       S    17:14   0:00 kdeinit: kwrited         
root       222  0.5  7.3 31804 18940 ?       S    17:14   0:00 kdeinit: khotkeys        
root       223  2.9  8.9 34456 22912 ?       S    17:14   0:01 kdeinit: kdesktop        
root       226  4.4  9.1 35788 23444 ?       S    17:14   0:01 kdeinit: kicker          
root       227  0.0  6.3 31388 16360 ?       S    17:14   0:00 kdeinit: kio_file file /tmp/ksocket-root/klauncher5uQXna.slave-socket /tmp/ksocket-root/kdesktopwY1skc.slave-socket
root       230  1.5  7.9 32488 20240 ?       S    17:14   0:00 kdeinit: klipper         
root       232  2.2  8.5 33952 21908 ?       S    17:14   0:00 kdeinit: kmix -session 117f000001000111474905900000004160014_1114938660_806620
root       234  2.9  8.7 34696 22448 ?       S    17:14   0:00 knotes -session 117f000001000111483497000000002130015_1114938660_806954
root       235  2.2  8.5 34428 22012 ?       S    17:14   0:00 kdeinit: konqueror --preload
root       236  2.2  8.5 34428 22012 ?       S    17:14   0:00 kdeinit: konqueror --preload
root       237  0.0  0.4  2400 1164 ?        S    17:14   0:00 /bin/sh -c ps -aux > /home/kornerr/Desktop/list2KDE
Fluxbox (which comes with Slack10.0)
Code:
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  1.9  0.0   480  240 ?        S    17:12   0:04 init [3]       
root         2  0.0  0.0     0    0 ?        S    17:12   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        SN   17:12   0:00 [ksoftirqd_CPU0]
root         4  0.0  0.0     0    0 ?        S    17:12   0:00 [kswapd]
root         5  0.0  0.0     0    0 ?        S    17:12   0:00 [bdflush]
root         6  0.0  0.0     0    0 ?        S    17:12   0:00 [kupdated]
root        10  0.0  0.0     0    0 ?        S<   17:12   0:00 [mdrecoveryd]
root        11  0.0  0.0     0    0 ?        S    17:12   0:00 [kjournald]
root        40  0.0  0.0     0    0 ?        S    17:12   0:00 [kjournald]
root        61  0.0  0.2  1404  588 ?        Ss   17:12   0:00 /usr/sbin/syslogd
root        64  0.0  0.1  1344  448 ?        Ss   17:12   0:00 /usr/sbin/klogd -c 3 -x
root       104  0.0  0.5  3140 1408 ?        Ss   17:12   0:00 /usr/sbin/sshd
root       112  0.0  0.2  1456  528 ?        S    17:12   0:00 /usr/sbin/crond -l10
root       131  0.0  0.2  1388  516 ?        Ss   17:12   0:00 /usr/sbin/gpm -m /dev/mouse -t imps2
root       133  0.0  0.6  2684 1584 tty1     Ss   17:12   0:00 -bash
root       134  0.0  0.1  1336  468 tty2     Ss+  17:12   0:00 /sbin/agetty 38400 tty2 linux
root       135  0.0  0.1  1336  468 tty3     Ss+  17:12   0:00 /sbin/agetty 38400 tty3 linux
root       136  0.0  0.1  1336  468 tty4     Ss+  17:12   0:00 /sbin/agetty 38400 tty4 linux
root       137  0.0  0.1  1336  468 tty5     Ss+  17:12   0:00 /sbin/agetty 38400 tty5 linux
root       138  0.0  0.1  1336  468 tty6     Ss+  17:12   0:00 /sbin/agetty 38400 tty6 linux
root       299  0.0  0.4  2400 1216 tty1     S+   17:15   0:00 /bin/sh /usr/X11R6/bin/startx
root       311  0.0  0.2  2156  628 tty1     S+   17:15   0:00 xinit /root/.xinitrc --
root       312  4.1  7.4 87864 19172 ?       S<L  17:15   0:01 X :0
root       316  0.8  1.4  6020 3832 tty1     S    17:15   0:00 /usr/X11R6/bin/fluxbox
root       320  0.0  0.5  2648 1508 pts/0    Ss   17:15   0:00 bash
When I had Windows XP (pirated) I "tweaked" it to run only 12 processes (I heard that some guys had ONLY 8 processes!!!) and it eated about 90 MB at the beginning of the work. But I know little yet how to tweak Linux... YET. The only way out of here is learning Linux
 
Old 05-01-2005, 04:45 AM   #17
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Quote:
Originally posted by kornerr
When I had Windows XP (pirated) I "tweaked" it to run only 12 processes (I heard that some guys had ONLY 8 processes!!!) and it eated about 90 MB at the beginning of the work. But I know little yet how to tweak Linux... YET. The only way out of here is learning Linux
Not quite.. WinNT (XP) groups ALOT of services into several single names, found in the proccesses tab called svchost.exe

These are the killer ones you can't really disable unless you know what you're doing, (start > run > something .svc, or something.. can't remember exactly, haven't used windows in ages)

And some of them you can't disable btw, some reveal information which i don't want the internet to know aobut.. the list goes on. As for the other ones you disable that are found in the task manager.. i don't really think you'd get any serious performance gain if you do... (if you DO, then i really underestimated how crap that OS is..)

You can kill as many proccesses as you want in NT, but its still a closed OS, and you won't reach any good results tbh..

As for linux, you can "tweak" it in 2 places..

1) The Kernel , you can enable/disable what you need/don't need.

2) The Procceses (or daemons), found in /etc/rc.d/

EDIT:
=======
It doesn't really matter how much ram the OS is using, be it 90 megs, or 150 megs.. Ram is Ram.. its there to be used. What matters is how it uses it, how it takes advantage of it, how it assigns sections of it to apps, and so on.

EDIT 2:
===========
Code:
root       104  0.2  0.5  3140 1408 ?        Ss   17:12   0:00 /usr/sbin/sshd
root       131  0.0  0.2  1388  516 ?        Ss   17:12   0:00 /usr/sbin/gpm -m /dev/mouse -t imps2
root       134  0.0  0.1  1336  468 tty2     Ss+  17:12   0:00 /sbin/agetty 38400 tty2 linux
root       135  0.0  0.1  1336  468 tty3     Ss+  17:12   0:00 /sbin/agetty 38400 tty3 linux
root       136  0.0  0.1  1336  468 tty4     Ss+  17:12   0:00 /sbin/agetty 38400 tty4 linux
root       137  0.0  0.1  1336  468 tty5     Ss+  17:12   0:00 /sbin/agetty 38400 tty5 linux
root       138  0.0  0.1  1336  468 tty6     Ss+  17:12   0:00 /sbin/agetty 38400 tty6 linux
Windows does not come with SSH btw, and i'm not sure why you have several agetty running.

And windows doesn't have mouse capabilities in its command line mode (dos, or recovery mode, or whatever), so that's another extra proccess too (gpm)

Last edited by xushi; 05-01-2005 at 04:51 AM.
 
Old 05-01-2005, 08:05 AM   #18
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
Since I have 6 consoles ready to work... that's reason, I think.
Will anything change without them?
And, Quatsch_Z, disable "hotplug", PC loads faster without it...

Last edited by kornerr; 05-01-2005 at 08:11 AM.
 
  


Reply



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
Fluxbox starts slow/X11 keeps CPU running at 9x% kaon Slackware 0 02-10-2005 11:28 AM
all the merged software starts, as i log in using gdm jogurt666 Linux - Distributions 0 05-20-2004 08:54 AM
Change hostname in X, sendmail starts slow Guru3 Red Hat 4 03-19-2004 03:44 PM
network sporadic and slow IF it starts artao Linux - Networking 13 02-27-2004 12:49 AM
Software that can slow down the music? Micro420 Linux - Software 2 01-25-2004 11:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:57 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