Software :: Monitor The CPU Temperature Via The Command Line?

Jun 20, 2011

I am running CentOS on this box and I'd like to be able to monitor the CPU temperature via the command line. Is this possible?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Dim Monitor Backlight Through Software/command Line

Sep 3, 2010

I am doing a project that involves dimming monitor backlight and Im in the process of searching a PC to be used for the project.

I ran ubuntu live cd in a PC shop to see if I can use the ff command: echo 30 > /proc/acpi/video/xxx/xxx/brightness

However, all brightness files just contain <not supported>. Is there another way to adjust the brightness (not using buttons)?

Since the monitor is dimming when idle (through built in power management), is it safe to assume that there is a way to do this?

I already need to confirm if we would order the PC. PC is Asus ET1610PT (all-in-one PC, touchscreen monitor)

View 1 Replies View Related

Fedora Servers :: Pptp - GUI - Command Line To Manage Users - Monitor?

Nov 26, 2010

I am going to build a Linux VPN server(PPTP) for my friend but here is the problem: He don't know Linux and command line to manage users, monitor server, etc

View 1 Replies View Related

Red Hat / Fedora :: Bash Script To Monitor Server Load / Mail From Command Line

May 4, 2010

I am attempting to write a very basic script that monitors a server's load and automatically emails an administrator upon the load reaching a certain threshold...

1.) `uptime | awk -F ' ' {'print $10'} | cut -d ',' -f1 | awk -F '.' {'print $1'}` -- the output from this command results in a decimal figure, so when that value is parsed and placed in an if statement, the value is not seen as a number. load-monitor.sh: line 9: [: 4.96: integer expression expected/How can I allow a number like "4.56" to be seen as an actual number within the if statement and be compared to 4, for instance?

2.) I am running a cPanel server on CentOS 5.4 -- when I run mail -s "SUBJECT" $EMAILADDRESS the command just hangs, and stracing the process shows it stuck on a read syscall.

3.) If I wanted to write this script in PHP, I have one primary confusion -- how can I mimic the functionality of obtaining the output from uptime via awk, etc. so that I can determine what the server load is at a given time? Which PHP function(s) would assist in that regard?

View 5 Replies View Related

Ubuntu :: Can't Monitor Cpu Temperature?

Jan 2, 2010

I've recently installed Karmic on my new machine with the following specs;

Asus M4A785TD-V EVO Motherboard
AMD Athlon II X4 620 2.6GHz
Crucial 4GB (2x2GB) DDR3
Coolermaster Elite 330 Case
Western Digital WD5000AAKS 500GB

I'm looking to install some sort of temperature monitoring for my cpu and have had luck using either lm-sensors or acpi. With lm sensors, I've followed the various how to's on the forum and am still coming back with nothing. Trying to add hardware monitoring to panel brings up a 'no sensors found!' error, and x-sensors just starts up with a blank screen.

'sensors' in terminal spits back this -
Code:
lou@lou-quad:~$ sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
lou@lou-quad:~$

I've added the relevant lines into etc/modules as per the last question during configuration but still no joy. I've just run 'sensors-detect and had a gander at the output, and I'm wondering if its as simple as no one has written a driver for my mobo yet.

[Code]...

View 2 Replies View Related

Server :: Monitor Ambient Temperature Over The Net?

Sep 21, 2010

Is there any way to monitor ambient temperature over the net?

For example I want to put one thermometer in the front of the cabinet (cold isle) and one in the back (hot isle) and monitor them over the internet, or have them report to a linux box.

What is the best way to do that?

View 6 Replies View Related

Ubuntu :: Temperature Monitor And Fan Controller Program?

Feb 2, 2011

I installed ubuntu for the first time tonight and to put it simply everything is very confusing. I have been looking at different forums and everyone is installing programs in code and tbh i have no idea how to and i was wondering is there a program available that lets me monitor my CPU temp & alter fan speeds?

View 4 Replies View Related

General :: Monitor Hardware Temperature (CPU , Motherboard , HDD Etc) In CentOS/RHEL?

Jun 7, 2011

How to monitor hardware temperature (CPU , Motherboard , HDD etc) in CentOS/RHEL ?

View 3 Replies View Related

Ubuntu :: Heat Monitoring - Download To Monitor My Processor Temperature On The Desk Top?

Apr 8, 2010

Is there a program already in Ubuntu or that i can download to monitor my processor temperature on the desk top?

View 2 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Hardware :: Command In Know The Processor Temperature And Its Status?

Mar 14, 2010

is there any command in linux to know the processor temperature and its status?with root permissions i tried with using the proc commd.... it gave io error saying permissiondenied....thru these system details are obtaind/proc/filesystems/proc/cpuinfosince im not familiar with its usage,so how this proc cmmd should be used to extract the required info abt the system & display them?

View 4 Replies View Related

Software :: Use Command Line To Split A Single-lined XML Into A Multi-line XML?

Dec 9, 2010

I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...

View 3 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Programming :: Effect Of Using Eval To Execute A Command As Opposed To Writing It On The Command-line?

Jun 18, 2010

Code: cmd='date | wc'

$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?

View 4 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...

I just installed the JDK, SDK, Eclipse successfully (or I assume):

* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).

** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,

My system:

Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2

View 5 Replies View Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found

path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found

Can someone point me in the right direction

View 1 Replies View Related

Software :: Command Line: Chown Command Recursively On Invisible Directories?

Oct 25, 2010

I tried

Code:

chown -R owner:group *

which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?

View 9 Replies View Related

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:

Code:

#! /bin/bash
#
#TODO write this for gnome and xterm

[code]....

This same error occurs if the gnome-terminal line is changed to

Code:

gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 1 Replies View Related

Programming :: Command Line Invocation Of Gnome-terminal To Run More Than One Command?

Feb 16, 2010

I am trying to learn how to pass more than a one-command startup for gnome-terminal.

I will give an example of what I'm trying to do here:

Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....

However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.

This same error occurs if the gnome-terminal line is changed to

Code:
gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 4 Replies View Related

Programming :: Convert This Awk Command From Command Line Into An Awk Script ?

Oct 15, 2010

I'm trying to convert this awk command from command line into an awk script, but just cannot get it to work:

This is what i have after my BEGIN

Am i missing something here? this just prints out the count for everyline, not counting lines on 5th field that match 'A'

View 1 Replies View Related

General :: Write <Esc> In The Vim Command Line (:vim Command)?

Jun 24, 2011

how do you write the ASCII character #27 in the vim command line?

View 6 Replies View Related

Software :: Command Line Cd Command Not Working Right

May 4, 2010

Using netbook asus 1005ha with lucid beta 1 with most of updates on learning to use the CLI and headaches cd command does not seem to reconise directories here is a sample

Code:

yeh i know read the f#####g manual i am but any help would be greatly accepted tried sudo with same commands same problem did have a problem on my debian system that was to do with paths this is not the same on a different footnote anyone thinking of upgrading to lucid sit tight on 9.10 there are still to many issues that need ironing out for a system that is your main system.

View 6 Replies View Related

Ubuntu :: Commad Line To Bring Up Monitor Resolution Change

Jun 6, 2010

I mis-clicked and now my monitor resolution is WAY too high. I could fix that by re-clicking, but the menu to bring up the screen I need to click is off-screen.By blind clicking I got a command line window. Can anybody tell me the command line to bring up the system preference for monitor resolution?

View 2 Replies View Related

Ubuntu :: System Dies - Monitor Emits Flashing Line Pattern?

Jul 7, 2010

I have installed Ubuntu 10.04 on a Dell Dimension 2350/ 2Ghz P4/ 1.5GB memory.After running for up to 10mins the system dies and the monitor alternates between black & a half-screen display of vertical black & white bars every second or so (first the top half then the bottom half of the screen). The unit has the standard Intel onboard graphics chip.The same happens with Ubuntu Studio & Xubuntu yet Mepis 8.5 & Fedora 13 run without problem.It's a standard installation of Ubuntu & all updates have been applied.

View 4 Replies View Related

Red Hat :: Add An Lvm From The Command Line?

Oct 29, 2010

I have made lvms with gentoo but my technique seems not to be working. I have a disk /dev/sdb1 which I made after the system install on disk /dev/sda1. I am trying this:vgscan
vgchnage -a ypvcreate /dev/sdb1lvm bitches out with:[yo@with]# pvcreate /dev/sdb1 Device /dev/sdb1 not found (or ignored by filtering).X is not installed and system-config-lvm is not working with the command line.

View 5 Replies View Related

Ubuntu :: How To Do Everything From Command Line

May 8, 2010

How can we do everything, or as much as we can do, from the command line? In particular, I am trying to get rid of the top panel in Ubuntu. Because,

1) It takes unnecessary valuable space.
2) Even if I use a huge monitor, it introduces distraction to me while working.

I created a shortcut so that with a single keyboard key I can open a terminal. For example, if I want to restart the computer, I use: "sudo shutdown -r now". Or I can even create a shorter alias. So I do not need the logout menu. But my problem is, some programs put an icon on the top panel when they are working. So, what is the best way of using command line, and getting rid of the top menu.

View 5 Replies View Related

Ubuntu :: 7-zip Still Command Line Only?

Sep 5, 2010

I was wondring if 7zip still only runs in the command line. I searched and got a bunch of old threads like this: [URL].. but I'm not sure if that has changed since 2007. A GUI would be awesome.

View 2 Replies View Related

Ubuntu :: How To FTP Using Command Line

Sep 17, 2010

I have a virtual private server that I SSH into. While I am using SSH, I need to be able to FTP from command line to another server. I want to do this in the easiest most sure way possible. (I am not using my real IP below for security.) I have tried the following commands.

sftp 10.99.99.99
ssh: connect to host 10.99.99.99 port 22: No route to host
Couldn't read packet: Connection reset by peer
ssh 10.99.99.99
ssh: connect to host 10.99.99.99 port 22: No route to host

View 5 Replies View Related

Ubuntu :: No Command Line / Get That?

Dec 7, 2010

About two months ago I upgraded my dual boot Linux-x86-64 Vista from Heron to 10.04 Lucid. Initially everything worked fine including wireless etc. Once I accidentally changed a few /etc permissions which caused a problem, but fixed it going into recovery mode. For the past weeks, I only used the windows. Over the weekend I tried logging into Ubuntu, the gnome would not come up. So, I went into recovery mode and typed "sudo apt-get update && sudo apt-get upgrade" which also went through. However, after that I lost the recovery options. I had used that command very successfully in the past. Right now, I have no command line that would allow me to type something. I was wondering if there are any keys Alt+Del + something that would give me a prompt I can work with. I'm totally baffled as to how this can happen.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved