LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-22-2006, 12:14 PM   #1
janbor
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
How to start with no X


Im setting up some fedora 5 machines to use for MPI calculations. When the machines boot up and come to the gdm greeter already 280 MB of memory has been allocated. I have turned off as many demons as I can, but found nothing on gdm or X. As these machines dont need X, or gdm, I would like to know how to turn these of (prefferaby in a nice way so that I can turn them on for debugging).

Jan
 
Old 09-22-2006, 12:18 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
you can boot into runlevel 3. change /etc/inittab files to boot in default level 3.
 
Old 09-22-2006, 12:44 PM   #3
janbor
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Original Poster
Rep: Reputation: 0
That did indeed turn of all gdm and X. However, it only saved me
about 10 MB - which means it now use about 270 MB BEFORE I DO ANYTHING...
What is going on - is there a way to avoid this ??
Could it be that >free does not really show real number ??

Jan

~>free
total used free shared buffers cached
Mem: 2031576 267380 1764196 0 16172 202536
-/+ buffers/cache: 48672 1982904
Swap: 2031608 0 2031608

~>ps -AF
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 1 0 0 1799 708 0 03:29 ? 00:00:00 init [3]
root 2 1 0 0 0 0 03:29 ? 00:00:00 [migration/0]
root 3 1 0 0 0 0 03:29 ? 00:00:00 [ksoftirqd/0]
root 4 1 0 0 0 0 03:29 ? 00:00:00 [watchdog/0]
root 5 1 0 0 0 1 03:29 ? 00:00:00 [migration/1]
root 6 1 0 0 0 1 03:29 ? 00:00:00 [ksoftirqd/1]
root 7 1 0 0 0 1 03:29 ? 00:00:00 [watchdog/1]
root 8 1 0 0 0 0 03:29 ? 00:00:00 [events/0]
root 9 1 0 0 0 1 03:29 ? 00:00:00 [events/1]
root 10 1 0 0 0 0 03:29 ? 00:00:00 [khelper]
root 11 1 0 0 0 0 03:29 ? 00:00:00 [kthread]
root 15 11 0 0 0 0 03:29 ? 00:00:00 [kblockd/0]
root 16 11 0 0 0 1 03:29 ? 00:00:00 [kblockd/1]
root 17 11 0 0 0 1 03:29 ? 00:00:00 [kacpid]
root 147 11 0 0 0 1 03:29 ? 00:00:00 [khubd]
root 214 11 0 0 0 1 03:29 ? 00:00:00 [pdflush]
root 215 11 0 0 0 1 03:29 ? 00:00:00 [pdflush]
root 217 11 0 0 0 0 03:29 ? 00:00:00 [aio/0]
root 218 11 0 0 0 1 03:29 ? 00:00:00 [aio/1]
root 216 1 0 0 0 1 03:29 ? 00:00:00 [kswapd0]
root 306 11 0 0 0 0 03:29 ? 00:00:00 [kseriod]
root 371 11 0 0 0 1 03:29 ? 00:00:00 [kpsmoused]
root 393 11 0 0 0 0 03:29 ? 00:00:00 [ata/0]
root 394 11 0 0 0 1 03:29 ? 00:00:00 [ata/1]
root 403 11 0 0 0 1 03:29 ? 00:00:00 [scsi_eh_0]
root 404 11 0 0 0 1 03:29 ? 00:00:00 [scsi_eh_1]
root 412 11 0 0 0 1 03:29 ? 00:00:00 [scsi_eh_2]
root 413 11 0 0 0 1 03:29 ? 00:00:00 [scsi_eh_3]
root 416 11 0 0 0 1 03:29 ? 00:00:00 [scsi_eh_4]
root 417 11 0 0 0 1 03:29 ? 00:00:00 [scsi_eh_5]
root 442 11 0 0 0 1 03:29 ? 00:00:00 [kmirrord]
root 455 1 0 0 0 1 03:29 ? 00:00:00 [kjournald]
root 494 11 0 0 0 1 03:29 ? 00:00:00 [kauditd]
root 518 1 0 2151 944 0 03:29 ? 00:00:00 /sbin/udevd -d
root 1037 1 0 0 0 1 03:29 ? 00:00:00 [khpsbpkt]
root 1108 1 0 0 0 0 03:29 ? 00:00:00 [knodemgrd_0]
root 1453 1 0 0 0 0 03:29 ? 00:00:00 [kjournald]
root 1772 1 0 1153 676 0 03:29 ? 00:00:00 /sbin/dhclient -1 -q -cf /etc/dhclient-eth0.conf -lf /var/lib/dhclient/dhclient-eth0.leases -pf /var/ru
root 1804 1 0 949 648 0 03:29 ? 00:00:00 syslogd -m 0
root 1807 1 0 678 416 0 03:29 ? 00:00:00 klogd -x
root 1817 1 0 677 296 0 03:29 ? 00:00:00 irqbalance
rpc 1832 1 0 1227 596 0 03:29 ? 00:00:00 portmap
rpcuser 1851 1 0 1228 744 0 03:29 ? 00:00:00 rpc.statd
root 1876 1 0 5848 708 0 03:29 ? 00:00:00 rpc.idmapd
dbus 1890 1 0 3598 924 0 03:29 ? 00:00:00 dbus-daemon --system
root 1996 1 0 2542 772 0 03:29 ? 00:00:00 /usr/sbin/automount --timeout=60 /net program /etc/auto.net
root 2010 1 0 755 504 0 03:29 ? 00:00:00 /usr/sbin/smartd
root 2019 1 0 678 500 0 03:29 ? 00:00:00 /usr/sbin/acpid
root 2044 1 0 6418 1284 0 03:29 ? 00:00:00 /usr/sbin/sshd
root 2059 1 0 16318 1156 0 03:29 ? 00:00:00 crond
xfs 2090 1 0 3143 1788 0 03:29 ? 00:00:00 xfs -droppriv -daemon
root 2099 1 0 677 528 0 03:29 ? 00:00:00 anacron -s
root 2108 1 0 2867 476 0 03:29 ? 00:00:00 /usr/sbin/atd
avahi 2126 1 0 3535 1468 1 03:29 ? 00:00:00 avahi-daemon: running [01.local]
avahi 2127 2126 0 3535 340 0 03:29 ? 00:00:00 avahi-daemon: chroot helper process
68 2136 1 1 3968 3516 0 03:29 ? 00:00:00 hald
root 2137 2136 0 2594 1028 1 03:29 ? 00:00:00 hald-runner
68 2143 2137 0 2107 888 1 03:29 ? 00:00:00 /usr/libexec/hald-addon-acpi
68 2149 2137 0 2108 884 0 03:29 ? 00:00:00 /usr/libexec/hald-addon-keyboard
root 2170 1 0 676 456 0 03:29 tty1 00:00:00 /sbin/mingetty tty1
root 2171 1 0 675 452 0 03:29 tty2 00:00:00 /sbin/mingetty tty2
root 2173 1 0 676 456 0 03:29 tty3 00:00:00 /sbin/mingetty tty3
root 2175 1 0 675 452 0 03:29 tty4 00:00:00 /sbin/mingetty tty4
root 2188 1 0 676 456 0 03:29 tty5 00:00:00 /sbin/mingetty tty5
root 2191 1 0 676 456 1 03:29 tty6 00:00:00 /sbin/mingetty tty6
root 2239 2044 0 9676 2848 0 03:29 ? 00:00:00 sshd: [priv]
 
Old 09-22-2006, 12:51 PM   #4
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
i didnt know how to explain this, but I found this to be good enough.
Quote:
Just to elaborate a bit, the Linux kernel is designed to use most of the
available RAM for buffers and cache. Thus, few systems will have very
large numbers in the "free" column on the "Mem:" line of "free" output.
Mostly those numbers will be high immediately after booting, then drop as
you use the disk. it's the "-/+ buffers/cache"
numbers that are better indicators of how much RAM is in use.
 
Old 09-22-2006, 02:29 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
http://thelinuxnewbie.blogspot.com/2...ery-basic.html

http://forums.gentoo.org/viewtopic.php?t=175419
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
disable cold start and warm start snmp traps chkisco Linux - Newbie 0 10-28-2005 02:58 AM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 08:53 PM
How to start korganiser and reminger agent whenever i start the x deskTop seastar Linux - Software 5 08-15-2004 10:29 PM
Can I gett KPPP to start when I start a browser on a network machine? duffboygrim Linux - Networking 0 03-25-2004 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:26 PM.

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