Linux OS: Ubuntu 10.10..In Windows, we can use Device Manager to check the power usage of my USB devices (like my WiFi adapter use 500mA). How to check this under linux?The purpose of asking this question is just to learn.
I wonder to know the command or the procedure to get the overall CPU utilisation in linux. I have used top, iostat, mpstat but the outputs are not the way i needed. Is it possible to get the output like...
I am running Slackware 13.0. I am aware of free -m, vmstat, top, etc. However, none of these programs display how much ram each program is using. Is there a program that displays how much ram each program is using? I run a headless so I'd need a program that runs in CLI.
I know that top command shows %MEM (only two programs were using 0.1%MEM) but after running free -m I only have a total of 400 MB ram left out of my 1.5 GB of ram. Where is all that lost ram?
I have one dedicated server in godaddy. Now I got mail regarding overage bandwidth. I don't know how to check this and I must give report how its happen.
Since I own one of those Centrino based Core 2 notebooks that create annoying buzzing noises when idle (= entering C3 or C4 power saving states), I'm looking for a program that creates artificial CPU usage. It should allow me to limit the CPU usage to a certain percentage (I know that there are a lot of easy ways to create 100% usage ;-).
Another option would be to disable the C3 or C4 states, but in newer kernels the sysfs interface to set the max_cstate on-the-fly was removed for some reason, and I don't always want to reboot after switching from AC to battery (and vice versa).
Is there a command to check specific processes that's using the most IO/disk usage? I know sar and ps but I want more specific details on IO on individual processes
I'm trying to check my server's bandwidth usage in real time, installed the following programs but none worked so far.
Iptraf - No results even when using iptraf -u Tcptrack - Error : pcap_loop: cooked-mode frame doesn't have room for sll header Iftop - No results, everything 0b
Are there any programs that displays bandwidth usage in real time and actually works on VPSes? Or getting real time bandwidth usage on a VPS is simply impossible?
I have a dell PE1750 server which would not boot up after a power failure. I am thrown to a shell for maintenance after showing an error in file system check. The server was running - Red Hat Enterprise Linux AS release 3 (Taroon). Please let me know if I can try to recover from this error by booting from the 1st CD of a higher version of linux like RHEL5. I ask this because I do not have the old media with which the system was setup. Can the use of latest OS CD cause any problem?
I've installed Xfce power manager via Ubuntu, but I have no idea how to use it, even after a restart still no change. I've gone through Control Center and even searching for it, but alas no sign of it anywhere.This is the command I ran via Terminal.
Code: $ sudo apt-get install xfce4-power-manager.I'm on Natty Beta 2,
I've got two servers that are (as far as I'm aware) exactly the same. Both are Dell PE1850 with the same hardware configuration, both are running of FC12, both have the same deamons running (except number 1 runs apache/php and number 2 runs mysqld). The same modules are activated for the kernel. I still have to dubbelcheck the BIOS settings, but they should be all the same.
But the power consumption of both systems is very different! A graph of the power usage is attached to this post, the spikes are reboots. Anyone can help me on finding out which system difference between these systems is causing the power consumption differences?
how to check which process consuming a lot of HDD I/O ? Do You know any good command which can show me which process saving something big on the storage system ? "iostat" or maybe "ps" ? Would be great if somebody could past me here nice command.
I have a starling netbook, but I have the regular ubuntu interface on it. I normally have it plugged into a power source, but now it is unplugged. As I remember, at one time there was an icon on the top bar that showed you how much battery life you have left, but now I don't see it. How do I get info on the percent of power I have left?
I installed ubuntu 10.10 on a desktop to use for a media server, and plus some. Everything worked! I proceeded to install the nVidia driver for the 9800gt After it was installed I rebooted per the notification after installation.So now my computer loads directly into terminal and I can't start the GUI. I tried startx but it gave that whole warning about the "nopowerconnectorcheck".
So I've done my research and I bought a 650w psu. Still no dice. I know that there is a way to turn off the power connector check but I have no Idea how.
I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.
Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!
Is there any way to allow normal fsck boot-time checks when running on battery power? After looking around, the only solution I've seen is to manually alter the /etc/init.d/checkfs.sh and /etc/init.d/checkroot.sh files and remove the AC power check. There must be a better way than that surely?
I'm looking at various low power consumption system options for running CentOS 5 on. The goal is to get a system that draws 20 watts or less, is silent (but I'll settle for very quiet), and is fast enough to be a light duty server. The kinds of things I envisage for it are low volume mail, http, ftp, subversion, ssh, maybe samba, and perhaps asterisk if I get enthused enough. Wireless network support isn't something I'll need and realistically the system is going to spend most of its running life being idle. I don't foresee any particular need to run X on it as I imagine that if I ever need to configure something graphically I'll do so by forwarding X over ssh.
I'm leaning towards the Asus Eee Box B202 as it's readily available, seems to be in the ball park of what I want, and I see on the forums here that other people have had success running CentOS 5 on it. Still, I'd prefer a silent system (though I suspect silent systems may only be available at a premium). So I'm after war stories and recommendations. What other low power systems have you run? For the Eee Box B202 or other system what kinds of real world power usage figures have you seen with CentOS when idle and when under load? Did the system perform below your expectations? If you needed to change the hardware (say, replace or upgrade the hard drive), was that straightforward or was it a chore?
I usually use "top" command to check the resource usage , it is very good and simple method to know the status ( loading , CPU , memory usage ), but we have many servers so we can't check the servers frequently , so we can't find the problem before the problem happens
Any method / script that I can implement to send us a alert mail if the resource usage reach a specific level , for example , if the CPU usage reach 90% , then send us a alert mail.
I'm running into a problem where my system is running out of disk space on the root partition, but I can't figure out where the runaway usage is. I've had a stable system for a couple of years now, and it just ran out of space. I cleaned some files up to get the system workable again, but can't find the big usage area, and I'm getting conflicting results.For example, when I do a df it says I'm using 44GB out of 58 GB:
Code: [root@Zion ~]# df -h Filesystem Size Used Avail Use% Mounted on
I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:
*/dev/sda1 contains file system w/errors, check forced it then goes on to say..
*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message
*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage *Would you like to continue (y/n)
Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.
Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?
I use Squeeze with Xfce. My problem is that recently (after the xfce updates) the xfce power manager doesnt react to the power button - it is set to suspend. I dont have gnome-power manager or anything like it running. If i reboot the computer, the power button will work but if i suspend and resume, it doesnt work again. The computer is built on an Asus M3N78-VM mobo (2GB RAM/Athlon3200+ single core).
I am using Ubuntu 10.04 64-bit and I purchased a new ALFA AWUS036H wireless card. I would like to know if this "1Watt" wireless card is configured for full power. iwlist wlan0 txpower results:
wlan0 unknown transmit-power information. Current Tx-Power=27 dBm (501 mW). It appears to me that I should be able to increase the power. "iwpriv wlan0 highpower 1" does not work. Do I need to patch the new default driver that comes with Ubuntu 10.04 64-bit with the aircrack one following these directions:[URL]...? Monitor mode and a injection tests seem to work fine with the driver I have installed.
I'm looking for any power monitoring devices for Linux to allow monitoring power quality, voltage changes, and outages. This would be for North American three phase power system. I want to have this data fed live to my own program. It should be something much better than just jury-rigging a circuit to fee the power waveform into 2 or 3 audio cards.
I had unplugged my PC last night as sometimes there's storms at night this morning I plugged in PC and the power light is blinking and the PC wont come on at all tried different power cord, same result
PC is a AMD athlon64 3300+ 2.4ghz SiS graphics
probably the power-supply or what?
If it is the power supply, how do I find new one as I've never had to replace anything on it or any other PC?
Also, I really need access to the hard drive but it's a weird hard drive and was wondering if I could put that hard drive in my K7 PC, which already has 2 drives in it can a pc have 3 drives? do I have to add/have another ribbon cable for 3rd drive?
I am sure that all of us know the result of top command in linux. i want to get the value that the top command return as CPU usage, memory usage. so how do i do(programming relation)?
I've come across a really strange issue with one of my RHEL servers. The "free" command shows that 7019 MB of memory are actually in use by my system, but when summing up the actual usage (or even virtual usage like the example below) it doesn't add up - the sum is far less than what is reported by "free":