LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to start with no X (https://www.linuxquestions.org/questions/linux-general-1/how-to-start-with-no-x-486023/)

janbor 09-22-2006 12:14 PM

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

w3bd3vil 09-22-2006 12:18 PM

you can boot into runlevel 3. change /etc/inittab files to boot in default level 3.

janbor 09-22-2006 12:44 PM

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]

w3bd3vil 09-22-2006 12:51 PM

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.

farslayer 09-22-2006 02:29 PM

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

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


All times are GMT -5. The time now is 06:49 PM.