[opensuse] System is sluggish
Hello, I'm having sluggish performance from my suse 11.3. My configuration is Intel Pentium Dual Core 2.66 GhZ, 2 GB DDR2 RAM and Inter G41 mainboard supporting a 500 GB HDD. I've installed and used Fedora, Mint and Ubuntu previously with no performance issue at all. But right now I'm getting sluggish performance from suse. What's the reason behind it? Can anybody help me out? I use basic soft. Browser, Word Processor, Mail client, Video player, Download manager & Torrent client. The only resource hog I run is Kmail (if that really can be called one) Please suggest me to do something to improve my performance. -- I am me, I wanna be me. Like me or not, this is the way I am- Junayeed Ahnaf Nirjhor Linux Mint Bangladesh Facebook- http://www.facebook.com/nirjhor Twitter - http://www.twitter.com/nirjhor Myspace- http://www.myspace.com/nirjhor1992 Blog - http://nirjhor.wordpress.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2010-07-18 at 11:53 +0600, Junayeed Ahnaf Nirjhor wrote:
Hello,
I'm having sluggish performance from my suse 11.3. My configuration is Intel Pentium Dual Core 2.66 GhZ, 2 GB DDR2 RAM and Inter G41 mainboard supporting a 500 GB HDD. I've installed and used Fedora, Mint and Ubuntu previously with no performance issue at all. But right now I'm getting sluggish performance from suse. What's the reason behind it? Can anybody help me out?
I use basic soft. Browser, Word Processor, Mail client, Video player, Download manager & Torrent client. The only resource hog I run is Kmail (if that really can be called one)
Please suggest me to do something to improve my performance. Hi, open a konsole and type in top, then hit enter. The display should tell you what is using up the cpu's power, and that will give you somewhere to start troubleshooting. Post what you find so that others on the list can help you.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 18 Jul 2010 14:45:09 +0600, Mark Misulich
On Sun, 2010-07-18 at 11:53 +0600, Junayeed Ahnaf Nirjhor wrote:
Hi, open a konsole and type in top, then hit enter. The display should tell you what is using up the cpu's power, and that will give you somewhere to start troubleshooting. Post what you find so that others on the list can help you.
top - 16:34:34 up 4:51, 4 users, load average: 0.02, 0.08, 0.02 Tasks: 153 total, 1 running, 152 sleeping, 0 stopped, 0 zombie Cpu(s): 9.7%us, 8.7%sy, 0.0%ni, 79.6%id, 0.3%wa, 1.5%hi, 0.2%si, 0.0%st Mem: 2035780k total, 1956524k used, 79256k free, 337792k buffers Swap: 0k total, 0k used, 0k free, 1209228k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1561 root 20 0 199m 103m 40m S 17 5.2 13:11.20 Xorg 8044 Nirjhor 20 0 682m 113m 52m S 8 5.7 0:34.73 amarok 8262 Nirjhor 20 0 109m 20m 13m S 7 1.1 0:04.79 konsole 2171 Nirjhor 20 0 102m 31m 21m S 1 1.6 5:22.21 kwin 8403 Nirjhor 20 0 2508 992 728 R 1 0.0 0:00.42 top 10 root 20 0 0 0 0 S 0 0.0 0:04.54 events/1 27 root 20 0 0 0 0 S 0 0.0 0:02.79 kondemand/0 2096 Nirjhor 20 0 3432 1624 876 S 0 0.1 0:05.95 dbus-daemon 2107 Nirjhor 20 0 118m 17m 13m S 0 0.9 0:02.04 kded4 2192 Nirjhor 20 0 91912 10m 7672 S 0 0.5 0:00.82 kaccess 8248 Nirjhor 20 0 74420 9872 6660 S 0 0.5 0:00.07 kio_http 8256 Nirjhor 20 0 74368 9876 6660 S 0 0.5 0:00.05 kio_http 1 root 20 0 2200 720 612 S 0 0.0 0:00.92 init 2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 4 root 20 0 0 0 0 S 0 0.0 0:03.71 ksoftirqd/0 5 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0 6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1 7 root 20 0 0 0 0 S 0 0.0 0:03.72 ksoftirqd/1 8 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1 9 root 20 0 0 0 0 S 0 0.0 0:04.54 events/0 11 root 20 0 0 0 0 S 0 0.0 0:00.00 cpuset 12 root 20 0 0 0 0 S 0 0.0 0:00.00 netns 13 root 20 0 0 0 0 S 0 0.0 0:00.00 async/mgr 14 root 20 0 0 0 0 S 0 0.0 0:00.00 pm 15 root 20 0 0 0 0 S 0 0.0 0:00.01 sync_supers 16 root 20 0 0 0 0 S 0 0.0 0:00.01 bdi-default 17 root 20 0 0 0 0 S 0 0.0 0:00.00 kintegrityd/0 18 root 20 0 0 0 0 S 0 0.0 0:00.00 kintegrityd/1 19 root 20 0 0 0 0 S 0 0.0 0:00.15 kblockd/0 20 root 20 0 0 0 0 S 0 0.0 0:00.12 kblockd/1 21 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpid 22 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpi_notify 23 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpi_hotplug 24 root 20 0 0 0 0 S 0 0.0 0:00.00 kseriod 28 root 20 0 0 0 0 S 0 0.0 0:04.40 kondemand/1 29 root 20 0 0 0 0 S 0 0.0 0:00.00 khelper 30 root 20 0 0 0 0 S 0 0.0 0:00.00 khungtaskd 31 root 20 0 0 0 0 S 0 0.0 0:02.26 kswapd0 32 root 25 5 0 0 0 S 0 0.0 0:00.00 ksmd 33 root 20 0 0 0 0 S 0 0.0 0:00.00 aio/0 34 root 20 0 0 0 0 S 0 0.0 0:00.00 aio/1 35 root 20 0 0 0 0 S 0 0.0 0:00.00 crypto/0 36 root 20 0 0 0 0 S 0 0.0 0:00.00 crypto/1 38 root 20 0 0 0 0 S 0 0.0 0:00.00 kpsmoused 196 root 20 0 0 0 0 S 0 0.0 0:00.00 khubd 207 root 20 0 0 0 0 S 0 0.0 0:01.60 ata/0 208 root 20 0 0 0 0 S 0 0.0 0:01.23 ata/1 209 root 20 0 0 0 0 S 0 0.0 0:00.00 ata_aux 227 root 20 0 0 0 0 S 0 0.0 0:00.32 i915 234 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0 235 root 20 0 0 0 0 S 0 0.0 0:05.30 scsi_eh_1 261 root 20 0 0 0 0 S 0 0.0 0:00.00 usbhid_resumer 326 root 20 0 0 0 0 S 0 0.0 0:01.11 jbd2/sda2-8 327 root 20 0 0 0 0 S 0 0.0 0:00.00 ext4-dio-unwrit 328 root 20 0 0 0 0 S 0 0.0 0:00.00 ext4-dio-unwrit 334 root 20 0 0 0 0 S 0 0.0 0:00.60 flush-8:0 458 root 16 -4 2724 1020 452 S 0 0.1 0:00.04 udevd 648 root 20 0 0 0 0 S 0 0.0 0:00.00 hd-audio0 729 root 20 0 0 0 0 S 0 0.0 0:00.00 cfg80211 783 root 20 0 0 0 0 S 0 0.0 0:00.00 kauditd 797 root 20 0 0 0 0 S 0 0.0 0:00.00 kstriped 852 root 20 0 2836 980 612 S 0 0.0 0:00.09 mount.ntfs-3g Why is it showing there ain't any swap? I've created one with the dd if command. -- I am me, I wanna be me. Like me or not, this is the way I am- Junayeed Ahnaf Nirjhor Linux Mint Bangladesh Facebook- http://www.facebook.com/nirjhor Twitter - http://www.twitter.com/nirjhor Myspace- http://www.myspace.com/nirjhor1992 Blog - http://nirjhor.wordpress.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-07-18 12:35, Junayeed Ahnaf Nirjhor wrote:
On Sun, 18 Jul 2010 14:45:09 +0600, Mark Misulich
wrote: On Sun, 2010-07-18 at 11:53 +0600, Junayeed Ahnaf Nirjhor wrote:
Hi, open a konsole and type in top, then hit enter. The display should tell you what is using up the cpu's power, and that will give you somewhere to start troubleshooting. Post what you find so that others on the list can help you.
top - 16:34:34 up 4:51, 4 users, load average: 0.02, 0.08, 0.02 Tasks: 153 total, 1 running, 152 sleeping, 0 stopped, 0 zombie Cpu(s): 9.7%us, 8.7%sy, 0.0%ni, 79.6%id, 0.3%wa, 1.5%hi, 0.2%si, 0.0%st Mem: 2035780k total, 1956524k used, 79256k free, 337792k buffers Swap: 0k total, 0k used, 0k free, 1209228k cached
...
Why is it showing there ain't any swap? I've created one with the dd if command.
Possibly you didn't tell the kernel to use it. I don't see why your system is sluggish. Describe exactly why you say that. Slow display, perhaps? However, notice something. There is 79256k of ram free, then 337792k in buffers and 1209228k cached. Thus, there is no need for swap - yet. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkxC4PUACgkQU92UU+smfQVV/QCeOGTb6XeDOPOq/+ItEi412/xN EukAn3iKhJ4HjD0+gU0dEL0lV7Dg6tIT =yMQg -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Junayeed Ahnaf Nirjhor said the following on 07/18/2010 06:35 AM: WOW! You've got ore power, more memory and more RAM than my laptop and this shows its idling. WOW
top - 16:34:34 up 4:51, 4 users, load average: 0.02, 0.08, 0.02
^^^^^^^^^^^^^^^^ WOW barely enough to keep the electrons flowing!
Tasks: 153 total, 1 running, 152 sleeping, 0 stopped, 0 zombie Cpu(s): 9.7%us, 8.7%sy, 0.0%ni, 79.6%id, 0.3%wa, 1.5%hi, 0.2%si, 0.0%st
WOW! Even with no apps I'm never that low! You've got a lot of power!
Mem: 2035780k total, 1956524k used, 79256k free, 337792k buffers Swap: 0k total, 0k used, 0k free, 1209228k cached
Lots of free memory and no swap activity. WOW!
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1561 root 20 0 199m 103m 40m S 17 5.2 13:11.20 Xorg
That's amazing. The only thing I have that eats more than X is Firefox with 3 windows and 87 tabs.
Why is it showing there ain't any swap? I've created one with the dd if command.
It shows no swap ACTIVITY. Why should it? You're not using all your memory. -- The improvement of our way of life is more important than the spreading of it. If we make it satisfactory enough, it will spread automatically. If we do not, no strength of arms can permanently oppose it. - Charles A. Lindbergh -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-07-18 13:33, Anton Aylward wrote:
It shows no swap ACTIVITY. Why should it? You're not using all your memory.
It shows no swap available, thus no swap activity. There is no swap to use.
Swap: 0k total, 0k used, 0k free, 1209228k cached ···············MMMMMMMMM························MMMMMMMM
- -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkxC6QUACgkQU92UU+smfQVqggCePfL4G7TVKgX/o1cLNH2wjk79 nPwAn0g/mc+gMrOyZzGyn5rlZJ6RQoEc =VfbD -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 18/07/10 11:35, Junayeed Ahnaf Nirjhor wrote:
On Sun, 18 Jul 2010 14:45:09 +0600, Mark Misulich
wrote: On Sun, 2010-07-18 at 11:53 +0600, Junayeed Ahnaf Nirjhor wrote:
Hi, open a konsole and type in top, then hit enter. The display should tell you what is using up the cpu's power, and that will give you somewhere to start troubleshooting. Post what you find so that others on the list can help you.
top - 16:34:34 up 4:51, 4 users, load average: 0.02, 0.08, 0.02 Tasks: 153 total, 1 running, 152 sleeping, 0 stopped, 0 zombie Cpu(s): 9.7%us, 8.7%sy, 0.0%ni, 79.6%id, 0.3%wa, 1.5%hi, 0.2%si, 0.0%st Mem: 2035780k total, 1956524k used, 79256k free, 337792k buffers Swap: 0k total, 0k used, 0k free, 1209228k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1561 root 20 0 199m 103m 40m S 17 5.2 13:11.20 Xorg 8044 Nirjhor 20 0 682m 113m 52m S 8 5.7 0:34.73 amarok 8262 Nirjhor 20 0 109m 20m 13m S 7 1.1 0:04.79 konsole 2171 Nirjhor 20 0 102m 31m 21m S 1 1.6 5:22.21 kwin 8403 Nirjhor 20 0 2508 992 728 R 1 0.0 0:00.42 top 10 root 20 0 0 0 0 S 0 0.0 0:04.54 events/1 27 root 20 0 0 0 0 S 0 0.0 0:02.79 kondemand/0 2096 Nirjhor 20 0 3432 1624 876 S 0 0.1 0:05.95 dbus-daemon 2107 Nirjhor 20 0 118m 17m 13m S 0 0.9 0:02.04 kded4 2192 Nirjhor 20 0 91912 10m 7672 S 0 0.5 0:00.82 kaccess 8248 Nirjhor 20 0 74420 9872 6660 S 0 0.5 0:00.07 kio_http 8256 Nirjhor 20 0 74368 9876 6660 S 0 0.5 0:00.05 kio_http 1 root 20 0 2200 720 612 S 0 0.0 0:00.92 init 2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 4 root 20 0 0 0 0 S 0 0.0 0:03.71 ksoftirqd/0 5 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0 6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1 7 root 20 0 0 0 0 S 0 0.0 0:03.72 ksoftirqd/1 8 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1 9 root 20 0 0 0 0 S 0 0.0 0:04.54 events/0 11 root 20 0 0 0 0 S 0 0.0 0:00.00 cpuset 12 root 20 0 0 0 0 S 0 0.0 0:00.00 netns 13 root 20 0 0 0 0 S 0 0.0 0:00.00 async/mgr 14 root 20 0 0 0 0 S 0 0.0 0:00.00 pm 15 root 20 0 0 0 0 S 0 0.0 0:00.01 sync_supers 16 root 20 0 0 0 0 S 0 0.0 0:00.01 bdi-default 17 root 20 0 0 0 0 S 0 0.0 0:00.00 kintegrityd/0 18 root 20 0 0 0 0 S 0 0.0 0:00.00 kintegrityd/1 19 root 20 0 0 0 0 S 0 0.0 0:00.15 kblockd/0 20 root 20 0 0 0 0 S 0 0.0 0:00.12 kblockd/1 21 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpid 22 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpi_notify 23 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpi_hotplug 24 root 20 0 0 0 0 S 0 0.0 0:00.00 kseriod 28 root 20 0 0 0 0 S 0 0.0 0:04.40 kondemand/1 29 root 20 0 0 0 0 S 0 0.0 0:00.00 khelper 30 root 20 0 0 0 0 S 0 0.0 0:00.00 khungtaskd 31 root 20 0 0 0 0 S 0 0.0 0:02.26 kswapd0 32 root 25 5 0 0 0 S 0 0.0 0:00.00 ksmd 33 root 20 0 0 0 0 S 0 0.0 0:00.00 aio/0 34 root 20 0 0 0 0 S 0 0.0 0:00.00 aio/1 35 root 20 0 0 0 0 S 0 0.0 0:00.00 crypto/0 36 root 20 0 0 0 0 S 0 0.0 0:00.00 crypto/1 38 root 20 0 0 0 0 S 0 0.0 0:00.00 kpsmoused 196 root 20 0 0 0 0 S 0 0.0 0:00.00 khubd 207 root 20 0 0 0 0 S 0 0.0 0:01.60 ata/0 208 root 20 0 0 0 0 S 0 0.0 0:01.23 ata/1 209 root 20 0 0 0 0 S 0 0.0 0:00.00 ata_aux 227 root 20 0 0 0 0 S 0 0.0 0:00.32 i915 234 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0 235 root 20 0 0 0 0 S 0 0.0 0:05.30 scsi_eh_1 261 root 20 0 0 0 0 S 0 0.0 0:00.00 usbhid_resumer 326 root 20 0 0 0 0 S 0 0.0 0:01.11 jbd2/sda2-8 327 root 20 0 0 0 0 S 0 0.0 0:00.00 ext4-dio-unwrit 328 root 20 0 0 0 0 S 0 0.0 0:00.00 ext4-dio-unwrit 334 root 20 0 0 0 0 S 0 0.0 0:00.60 flush-8:0 458 root 16 -4 2724 1020 452 S 0 0.1 0:00.04 udevd 648 root 20 0 0 0 0 S 0 0.0 0:00.00 hd-audio0 729 root 20 0 0 0 0 S 0 0.0 0:00.00 cfg80211 783 root 20 0 0 0 0 S 0 0.0 0:00.00 kauditd 797 root 20 0 0 0 0 S 0 0.0 0:00.00 kstriped 852 root 20 0 2836 980 612 S 0 0.0 0:00.09 mount.ntfs-3g
Why is it showing there ain't any swap? I've created one with the dd if command.
You have created the swap drive but have not activated it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 18 Jul 2010 20:21:18 +0600, Linux_Sle
On 18/07/10 11:35, Junayeed Ahnaf Nirjhor wrote:
On Sun, 18 Jul 2010 14:45:09 +0600, Mark Misulich
wrote:
You have created the swap drive but have not activated it.
Then please tell me how to activate it. -- I am me, I wanna be me. Like me or not, this is the way I am- Junayeed Ahnaf Nirjhor Linux Mint Bangladesh Facebook- http://www.facebook.com/nirjhor Twitter - http://www.twitter.com/nirjhor Myspace- http://www.myspace.com/nirjhor1992 Blog - http://nirjhor.wordpress.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
From the terminal, the "swapon" command as root. To make permanent, add a line to /etc/fstab.
On Sun, 18 Jul 2010 20:21:18 +0600, Linux_Sle
wrote: On 18/07/10 11:35, Junayeed Ahnaf Nirjhor wrote:
On Sun, 18 Jul 2010 14:45:09 +0600, Mark Misulich
wrote: You have created the swap drive but have not activated it.
Then please tell me how to activate it.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 18 Jul 2010 22:06:20 +0600, dwgallien
From the terminal, the "swapon" command as root. To make permanent, add a line to /etc/fstab.
This is happening: linux-rik8:/home/Nirjhor # swapon Usage: swapon -a [-e] [-v] [-f] enable all swaps from /etc/fstab swapon [-p priority] [-v] [-f] <special> enable given swap swapon -s display swap usage summary swapon -h display help swapon -V display version The <special> parameter: {-L label | LABEL=label} LABEL of device to be used {-U uuid | UUID=uuid} UUID of device to be used <device> name of device to be used <file> name of file to be used And /etc/fstab contains this. Can you tell me what to add?: /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part2 / ext4 acl,user_xattr 1 1 /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part5 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part6 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part7 /windows/F ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part8 /windows/G ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 -- I am me, I wanna be me. Like me or not, this is the way I am- Junayeed Ahnaf Nirjhor Linux Mint Bangladesh Facebook- http://www.facebook.com/nirjhor Twitter - http://www.twitter.com/nirjhor Myspace- http://www.myspace.com/nirjhor1992 Blog - http://nirjhor.wordpress.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
The easiest method to add the swap line to fstab is with YaST Partitioner. Just click on Hard Disks, then highlight the partition you have allocated to swap, then click on Edit. On the next screen select Format Partition and "swap" for the file system from the pull-down. Then below click on Mount Partition and from the pull-down select "swap" as the mount point. Finish. The line in fstab will look like:
On Sun, 18 Jul 2010 22:06:20 +0600, dwgallien
wrote: From the terminal, the "swapon" command as root. To make permanent, add a line to /etc/fstab.
This is happening:
linux-rik8:/home/Nirjhor # swapon
Usage: swapon -a [-e] [-v] [-f] enable all swaps from /etc/fstab swapon [-p priority] [-v] [-f] <special> enable given swap swapon -s display swap usage summary swapon -h display help swapon -V display version
The <special> parameter: {-L label | LABEL=label} LABEL of device to be used {-U uuid | UUID=uuid} UUID of device to be used <device> name of device to be used <file> name of file to be used
And /etc/fstab contains this. Can you tell me what to add?:
/dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part2 / ext4 acl,user_xattr 1 1 /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part5 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part6 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part7 /windows/F ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part8 /windows/G ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Sun, 18 Jul 2010, Junayeed Ahnaf Nirjhor wrote:
On Sun, 18 Jul 2010 22:06:20 +0600, dwgallien
wrote: From the terminal, the "swapon" command as root. To make permanent, add a line to /etc/fstab.
This is happening:
linux-rik8:/home/Nirjhor # swapon
Usage: swapon -a [-e] [-v] [-f] enable all swaps from /etc/fstab ^^^^^^^^^
Simply run 'swapon -a'.
And /etc/fstab contains this. Can you tell me what to add?:
Not really, as you haven't told us, what partition is your swap-partition. Or the name of your swapfile.
/dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90SB02264-part2 / ext4 acl,user_xattr 1 1
/dev/sdXY swap swap defaults 0 0 or /path/to/swapfile swap swap defaults 0 0 In the latter case, you _MUST_ put the line for swap _after_ the line for the partition on which the swapfile is. With a partition, swap can be the first line. Instead of /dev/sdXY (which you have to replace by the correct device for the partition), you can also use /dev/disk/by-id/... etc. See the manpages fstab(5), swapon(8) ... HTH, -dnh -- MISC You are the 4711th visitor of this page. -- man xawtv -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-07-18 19:27, David Haller wrote:
On Sun, 18 Jul 2010, Junayeed Ahnaf Nirjhor wrote:
And /etc/fstab contains this. Can you tell me what to add?:
Not really, as you haven't told us, what partition is your swap-partition. Or the name of your swapfile.
He did, on another thread. It is "/swapfile", unless he changed things. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkxDU5EACgkQU92UU+smfQXRDQCfcv9TBtEj3p/fkW6tUGsIuOEX XAEAn2Fxv2lm2jLMzYaMUf4SJEpIVM5L =n+wy -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 18 Jul 2010 23:27:39 +0600, David Haller
And /etc/fstab contains this. Can you tell me what to add?:
Not really, as you haven't told us, what partition is your swap-partition. Or the name of your swapfile.
I've created a /swapfile on my root file system. Now what would be the command? -- I am me, I wanna be me. Like me or not, this is the way I am- Junayeed Ahnaf Nirjhor Linux Mint Bangladesh Facebook- http://www.facebook.com/nirjhor Twitter - http://www.twitter.com/nirjhor Myspace- http://www.myspace.com/nirjhor1992 Blog - http://nirjhor.wordpress.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-07-18 21:30, Junayeed Ahnaf Nirjhor wrote:
On Sun, 18 Jul 2010 23:27:39 +0600, David Haller <> wrote:
I've created a /swapfile on my root file system. Now what would be the command?
swapon -v /swapfile swapon -s - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkxDV7cACgkQU92UU+smfQXj4ACeOR96g2X5zXwgbD6NBm/+oxiB szUAnA7j3zhvfcGXkdEc4LZnF5t3BZLv =KJhT -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 19 Jul 2010 01:36:23 +0600, Carlos E. R.
swapon -s
What would be the change I should bring on /etc/fstab to make this permanent? -- I am me, I wanna be me. Like me or not, this is the way I am- Junayeed Ahnaf Nirjhor Linux Mint Bangladesh Facebook- http://www.facebook.com/nirjhor Twitter - http://www.twitter.com/nirjhor Myspace- http://www.myspace.com/nirjhor1992 Blog - http://nirjhor.wordpress.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2010-07-18 at 16:35 +0600, Junayeed Ahnaf Nirjhor wrote:
On Sun, 18 Jul 2010 14:45:09 +0600, Mark Misulich
wrote: On Sun, 2010-07-18 at 11:53 +0600, Junayeed Ahnaf Nirjhor wrote:
Hi, open a konsole and type in top, then hit enter. The display should tell you what is using up the cpu's power, and that will give you somewhere to start troubleshooting. Post what you find so that others on the list can help you.
top - 16:34:34 up 4:51, 4 users, load average: 0.02, 0.08, 0.02 Tasks: 153 total, 1 running, 152 sleeping, 0 stopped, 0 zombie Cpu(s): 9.7%us, 8.7%sy, 0.0%ni, 79.6%id, 0.3%wa, 1.5%hi, 0.2%si, 0.0%st Mem: 2035780k total, 1956524k used, 79256k free, 337792k buffers Swap: 0k total, 0k used, 0k free, 1209228k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1561 root 20 0 199m 103m 40m S 17 5.2 13:11.20 Xorg 8044 Nirjhor 20 0 682m 113m 52m S 8 5.7 0:34.73 amarok
Hi, here are some things that you can do to speed up your sluggish computer. http://en.opensuse.org/SDB:Disable_IPv6_for_Firefox kde Yast>System>sysconfig editor>Desktop>kde_use_IPv6 set to no Suse open terminal su to root #echo "alias net-pf-10 off" >> /etc/modprobe.conf hit enter #echo "alias ipv6 off" >> /etc/modprobe.conf hit enter restart computer After restart, Yast>Software management>search delete nepomuk, strigi, akonadi For some reason your Xorg seems to me to be drawing a lot of cpu power. My computer shows 5% on Xorg and I am playing a video with it. If my browser is hanging up the Xorg will shoot up to around 45-50% cpu, but I normally never see much higher than 1-5% cpu on xorg. I would try to figure out why the xorg is drawing so much cpu. Perhaps someone else here on the list has an opinion on this and can help. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Anton Aylward
-
Carlos E. R.
-
David Haller
-
dwgallien
-
Junayeed Ahnaf Nirjhor
-
Linux_Sle
-
Mark Misulich