Ubuntu :: How Can I Check Status Of User Partition
Nov 20, 2010Ubuntu server, no GUI installed; two partitions: OS and user.How can I check the status of the user partition? E.g. Free space, directory, etc
View 2 RepliesUbuntu server, no GUI installed; two partitions: OS and user.How can I check the status of the user partition? E.g. Free space, directory, etc
View 2 Replieswant to know what is the cmd to ping/check the link speed or something like Network Info. If for server checking (Show information CPI info) is (cat /proc/cpuinfo ) (correct me if im wrong)
View 4 Replies View RelatedWe have a Dell Poweredge 1750 server with 2 harddrives in RAID 1 running Debian Etch. Yesterday one of the hardrives stopped working but no error message appeared in syslog. The only indication was the amber LED diode. Is there a software way how to check that both disks are OK?
View 5 Replies View RelatedIn Zentyal, it showed me active drives, if the array was degraded, and if there was any syncing happening when the array was building. How can I check that without Zentyal? Is there a terminal command or an application I can install to tell me the same information?
View 2 Replies View RelatedI'm running CentOS 5.5 and have created an init script. The start of the script contains:
# Source function library.
if [ -f /etc/init.d/functions ]; then
. /etc/init.d/functions
fi
The start bit works fine, but I'm having problems with the status and stop part:
status)
echo -n "Status of script: "
status "/bin/sh /path/to/script.sh"
RETVAL=$?
echo
;;
In PS AUX the command appears as "/bin/sh /path/to/script.sh" and I can see the PID. But when I run:
./my_init_script status
It says the script is not running. Should I be using the /bin/sh bit, or just the full script path, or just the script filename?
The stop part of the init script utilises "killproc". Again what command should I be using to successfully kill all occurrances of the script?
I need to make a SQL script and call it from Unix (bash) shell.
Code:
sqlplus vikas/vikas <<END
spool /oracle/vikas/output.txt
command 1
[code]....
This runs perfectly, but my problem is that if a command fails, the other commands keeps on running. I need to keep a check that when a command fails the script is exited. In unix we have an option of echo $? to check the status of previous command, But how to accomplish this SQL.
dd is wiping part of the hard drive( 270GB partition ) with /dev/urandom for quite some hours, is there anyway to check the proccess? like speed of the process etc., I read someone doing that with another drive while having access to other terminal because of the system, but since this is directly from the install dvd, I've no clue if there's anyway to do that or not. I'm asking that mainly because:
1) I prefer run things with some kind of verbose mode
2) I accentaly opened the dvd driver (yes I know, but I forgot the install dvd was inside of it), but I closed it right after it, no errors, but it may have stopped working and has just the _ clicking?
I'm using Debian squeeze and for an assignement, i have create 2 virtual pdf cups printers. Both are working very well. To test the different administion command; i try to disable one of the printer and move his queue file to the second one. I'm able to do it easily.
Now, i wish to write a bash script that wil test the status of the printer. So that,if the printer is disable, it just execute the "move" script. Is there a way to know the status of a cups printer and use that information in a script?
For example, a command/function that can return "O" is the cups printer is enable and "1" if not.
I would need to monitor the status of an electric relay. To do so I was thinking the serial port and perl (as I don't know C ) how to check if a switch connected to a serial port is open or closed. Here is my plan, I'll plug a electric relay on the electric network and monitor the state of the switch. if the switch is closed, that mean that we are on the electric network if the switch is open that mean that we are on our diesel power generator.
PS: There will be no voltage input involve (although I can if that's required)
I'm planning to use this with Nagios to know if we are on the electric network or on our diesel power generator.
1) check if a mouse button is pressed down. I need to check this status of mouse button again and again inside a loop. Depending on the status, some function will be called. OR
2) check if some key of the keyboard is pressed down. I need to check this status of 'key' again and again inside a loop. Depending on the status, some function will be called.
Either of the two above will serve my purpose.
I am using Ubuntu 10.10.
yesterday i tried to install bt4 from alongside ubuntu 10.04. Unfortunately the DVD had some errors and the installation stopped. Everything was fine till then, even the GRUB was working(i guess!) but when i tried to log into my Ubuntu it gave me an error... " /usr/lib/libgconf2-4/gconf-sanity-check-2 exited with error status 256" also there was a popup like "gnome power management was not properly installed ....blah blah blah Contact you network admin"
i have only one user on that system. i tried the single user mode but no success... i then tried to Ctrl+Alt+F1-F6 no success... can't switch to command line(this is my display problem i guess)
i have now decided to install a fresh install but i do need to take the backup. What all should i copy to the new install so that i get the same feel as before?
I ran update through the terminal and rebooted i get this error message on start up and again after I log in Please Help!! I'm running Ubuntu 11.04 using unity 2d and the latest version of Gnome 2 on a Dell Inspiron 5150 laptop There is a problem with the configuration server. (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 32512)
View 5 Replies View RelatedI there a monitoring tool that will alert me if one of the linux service is off? example MySQL, http, SSH,...etc
View 7 Replies View Relatedhow to make a script that will check service/s status whether running or stop and also will run stop services?
View 9 Replies View RelatedI tried changing the source to a few different ones and I picked "Select Best Server". Still getting the same msg. I am on a wired connection and there is nothing wrong with my connection.Anyone know the solution if not how do I install nvida drivers?
View 1 Replies View RelatedI use jessie-32bit of kernel 4.1.3 on ASUS EeeBook X205TA. But it doesn't recognize buttery status.Result of my investigation, the incomprehensible ponts is below.
・"acpi -b" outputs no information.
・There is not "battery" directory in /proc/acpi/. (button only exists.)
The following is my system informations.
Code: Select allacpi -V
Adapter 0: on-line
Cooling 0: intel_powerclamp no state information available
Cooling 1: Processor 0 of 10
[code]...
I want to check battery in console and fluxbox Desktop.
Have Karmic 9.10 ,Changed from Epson RX595 all in 1 (uses a ton of ink)Got the Lexmark Pro 805 3 in 1 because it says it supports Linux and the ink cartridge only cost $5 downloaded drivers and printer works but using Xsane Image Scanner error reports
'Lexmark_1_0_0:libsub/001/009': Device busy Using Image Scan - reports Could not send command to scanner Check the scanner status. The RX595's scanner drivers had to been manually instatlled,, in the Printer box the Lexmark shows available..
After downloading and installing iscan and run it i see this message:
Could not send command to scanner. Check scanner's status.
After command sane-find-scanner:
And this message is result of scanimage command:
No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages).
I have six linux Centos 5.0 Servers. I had to configure the snmp client. I just created a pretty basic configuration snmpd.conf file
Code: rocommunity CompanyCom 10.1.1.10
I installed all of these
lm_sensors-2.10.7-4.el5.i386.rpm
net-snmp-libs-5.3.2.2-7.el5.i386.rpm
net-snmp-5.3.2.2-7.el5.i386.rpm
net-snmp-utils-5.3.2.2-7.el5.i386.rpm
4 of them are working fine, the application installed on 10.1.1.10 can query 4 servers but I got 2 Linux Centos that are in a DMZ, and my networking team already opened ports and configured NAT but the SNMP Server 10.1.1.10 is not able to query them how can I check the snmpd is really running apart from service snmpd status? might be related with the DMZ configuration?
I would like to implement something when a server is offline for whatever reason. For example. I got my own DNS servers and webservers. I would like it if the users goes to www.somedomain.com and the server it is actually on is down for maint. or For whatever not able to respond. What can be done so that if the server isn't able to be contacted that it can point to either a another server or the dns somehow can display a page stating who to contact to report a problem or to let them know its down for maint. And can goto a site to check the status or whatever.
View 7 Replies View RelatedHaving downloaded 11.4 Gnome, finding it did not install I bought it on DVD from ebay, when trying DVD installation my PC is displaying: There is a problem with the configuration server (/usr/lib/Gconf-sanity- check - 2 exited with status 256, I would like to install this rather then just run it off disk
View 9 Replies View RelatedHow can check that I have full permissions on anything should I set my self as root? There are a lot of files it said your not the owner so you can't change but if I'm not the owner then who is?
View 9 Replies View RelatedHow do check the programs that the actual user of the computer installed. I do not care at all about the default programs that came with your distro of Linux, I only want the user installed programs.
View 3 Replies View RelatedI know there's no direct way to do this. But can someone please suggest how I'm able to check the last user that opened a file?eg; vi test.txtThe last user that accessed test.txtI know last access/mod/change time can be displayed.Also lsof won't do anything as the script I'll be writing won't necessarily be running when the user has already closed the file
View 4 Replies View RelatedI have just upgraded to Lucid on Ubuntu. I am a long time Pidgin user. I tried using Empathy with Gwibber, but I can't get Gwibber to update my IM status(es) in Empathy, so I want to go back to using Pidgin. (Additionally, I can't get Skype to work with Empathy.)I installed pidgin-microblog and pidgin-mbpurple, and they allow me to view my Twitter feed in Pidgin and update my Twitter status in Pidgin. However, in Karmic, I was also able to specify certain "status availabilities" (one named "Twitter-Available" and one named "Twitter-Away", for instance) to have the IM status message for these statuses become populated with my Twitter feed. This capability seems missing in pidgin-mbpurple in Lucid (and it seems to be the only thing missing from Karmic).
Is there a way to have pidgin-mbpurple update certain "status availabilities" in Lucid (and I'm just missing something) or is this no longer possible?Equivalently, is it possible to have Gwibber update my status message in Empathy? (I just want to be able to update my status once on one of my three computers - and have it propagate to all my other accounts (IM and social networking) and computers).
A non techie friend has helped an even less techie friend by contacting me by email to discuss an ailing laptop. A few emails were exchanged, with more details, and it was not looking good because it seemed that suddenly the CD drive was not responding, nor any USB devices, the wireless icon was gone, but Ubuntu still seemed to work (for now), with wired ethernet also working. I was struggling to think of what could be done, with the favourite routes of Live CD and Live USB apparently gone.
After a few more hours - another email: 'It's now working! After so many reboots it checked disc for errors and repaired itself! Is there some way of doing that when needed anyway?'I see there is 'Disk Utility', and this would presumably fit the bill, but how does it do checks and repair when the damaged file system is being run, and is currently *mounted*? I thought utilities like fsck(?) could only be run on unmounted file systems? Have I misunderstood the disk utility fs check repair function? And anyway, what might be a good answer to my (nontechie) friend's question 'After so many reboots it checked disc for errors and repaired itself! Is there some way of doing that when needed anyway?'
For the record: (quote) It is a toshiba EA60-155 Model number PSA67E-00300C8J. He put in extra ram to install ubuntu. He thinks he may have deleted something! There is a 'trash' file on his USB drive with loads of stuff in it and he doesn't know how or why but because it won't now read the drive on her laptop we cant replace it! (end quote)
My windows partition isn't starting up, gives an error and suggests using chkdsk. However, I cant even reach safe mode or command prompt. I can still access my Windows hard drive through Ubuntu.I am wondering I can use a Linux tool to perform a check on this Windows partition? I found the fsck command, but I am confused about the warning about running it on a mounted system and about what exactly is a mounted system.
Can someone please tell me how exactly I wod go about doing a check on this partition? Its currently located in /media/disk.I can right click on the partition and unmount it. But if I do this, will Ubuntu still be able to see this partition?What command do I use to do fsck only on this Windows partition (and not the whole system and other mounted places)? How do I remount the Windows partition so that I can atleast salvage my data easily in case doing a disk check does not help?
I want to make sure that the user www-data cannot be used to login on my system (Ubuntu Lucid). How can I find out? - is there a command I can run against this user? (traditionally run by Apache daemon)
View 3 Replies View Relatedtried a lot to get an answer for howo check when a user was created,but got no answer. know the command or how to check when a user was created?
View 14 Replies View RelatedI know the 'history' command give me a list of the commands I have typed into the Unix terminal.
How do I see the command history for all of the users currently logged onto the system?