General :: How Long Was Keyboard Idle?
Nov 7, 2010
Suppose I am almost sure that from last Thursday, 3.00pm up to the same day at 10.00pm I was away from the machine, but not absolutely sure. Linux probably knows better than me. Maybe there will be a text file from which I could infer the keyboard was idle from Thu 2.40pm up to 11.10 pm. In this case, I would reach absolute certainty. But where could such file be in the /. tree or what could its name be (for in the latter case an updatedb followed by locate would do)?
View 4 Replies
ADVERTISEMENT
May 20, 2011
How to get the idle time of keyboard and mouse in linux?
View 2 Replies
View Related
Apr 3, 2011
My hard drive all of a sudden starts to read and write all on its own for around 15 seconds at a time while at idle or while I am just browsing the net. At first I thought it was from cron running but I have that disabled.
View 3 Replies
View Related
Mar 22, 2011
When I run top d 0.5 on my machine and I press 1 to enable the SMP View, I notice that all of the CPUs keep toggling between 100%idle and 0% idle.
The odd part is that when a CPU goes to 0.0% idle, I would expect to see one or more of the other columns peek, but they are not.
What is causing this?
Code:
View 8 Replies
View Related
Jan 9, 2010
just start Ubuntu 9.04 said: File system chek failed a long is beging saved /var/long/fsck/checkfs if that location is writable Please repair the file systmen manually A maintenance shell will now be started Ctr+ D terminate this shell and resume system boot. Give root password for maintenance or type Control +D to continue. I did Ctr+D , and after login said , that can not find /home. I starte with the live cd:
[Code]....
View 9 Replies
View Related
Feb 25, 2010
how to log out an idle session. I was using putty to connect to a Debian machine to edit my .profile file. I got disconnected. Ideally I would want to log back into my own session. If anyone can let me know how to do it, please? If not I want to open a new session and then log off my first session (see below pts/0).
[Code].....
View 2 Replies
View Related
Aug 11, 2011
I have a PC which I built ~3 years ago which had been running smoothly and silently until recently. Now, the CPU fan likes to spin up to 1200-1500 RPM even when it's idle, which is rather annoying. I have not made any recent changes (software-wise or hardware-wise) to it.
The specs:
Motherboard: Gigabyte MA78GM-S2HP
CPU: AMD Athlon(tm) Dual Core Processor 4850e
Case: Antec Minuet 350 MicroATX
OS: Ubuntu 10.04, Linux 2.6.38-10-generic
I installed the lm-sensors and hddtemp packages (via apt-get) and configured them. Here's a typical output at steady-state, where the computer's been idle for a while and the fans have been spinning for the same while:
$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +29.0°C
Core0 Temp: +32.0°C
Core1 Temp: +27.0°C
Core1 Temp: +22.0°C
it8718-isa-0228
Adapter: ISA adapter .....
$ sudo hddtemp /dev/sda
/dev/sda: WDC WD5000AACS-00ZUB0: 35°C
These all seem fairly normal to me, so I'm perplexed as to why the fan continues to run at such a high RPM. What does the ALARM that's reported for in6 mean? Is it important? I've been playing around with the fancontrol daemon, trying to see if I could get better results than with the default fan management. Using the pwmconfig utility, I generated the following /etc/fancontrol file:
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon0=devices/pci0000:00/0000:00:18.3 hwmon1=devices/platform/it87.552
DEVNAME=hwmon0=k8temp hwmon1=it8718
FCTEMPS= hwmon1/device/pwm1=hwmon0/device/temp1_input
FCFANS= hwmon1/device/pwm1=hwmon1/device/fan1_input
MINTEMP= hwmon1/device/pwm1=35
MAXTEMP= hwmon1/device/pwm1=60
MINSTART= hwmon1/device/pwm1=180
MINSTOP= hwmon1/device/pwm1=100
This only sort of works—as soon as I enable the fancontrol daemon, the fan shuts off at first (good), but the temperatures of the 7 different sensors slowly rise, even when everything is idle. Eventually, when the Core0 Temp sensors goes past 35°, the fan comes back on, and then it alternates from being on and off at around 500-700 RPM, as the temperature goes back and forth across the boundary. It's certainly much more pleasant than 1200-1500 RPM, but it's still far from desirable.
Here's an example of the sensors output in that situation:
$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +36.0°C
Core0 Temp: +38.0°C
Core1 Temp: +34.0°C
Core1 Temp: +30.0°C
it8718-isa-0228
Adapter: ISA adapter .....
cpu0_vid: +1.100 V
I opened up the case, and the CPU heat sink felt warm but not excessively hot. I tried taking off the heat sink, cleaning off the thermal paste, putting on new thermal paste, and putting the heat sink back on, but that didn't seem to have much of an effect, if any. The two other heat sinks—one on the built-in AMD 780G graphics chipset and the other on the AMD SB700 southbridge—felt noticeably hotter than the CPU heat sink. So, my question is this: What should I do to get this computer back to the state where the fan is off when it's idle? Can I solve this with a smarter fancontrol configuration?
I cleaned out the heat sink and fan as best I could with compressed air (there wasn't a whole lot of dust, but I got rid of what I could), but still no dice. Rebooting into the BIOS configuration gives me the same results—the fan still runs at 1100-1200 RPM, and the system and CPU temperatures are reported as 40-44°C. Should I add another fan? The integrated GPU and the SB heatsinks felt significantly warmer to the tough than the CPU heatsink. The BIOS reports a system fan speed and NB fan speed of 0 rpm (since I don't have more than one fan).
View 2 Replies
View Related
Apr 5, 2010
I want to get the system idle time till a mouse move or a key press. How is it possible to get it from a char terminal running through ssh/telnet as well as a from an X-terminal session?
View 1 Replies
View Related
Nov 18, 2010
All the kill idle user processes scripts I've seen don't take into account that the user might have multiple sessions open. Such is the case with one of our clients. Currently, every hour or two I need to do the following:
This will get the TTY and idle time for all users.
For each idle time over a half hour, I do the following (TTY is the TTY from the previous command with a space.
I then kill those processes.
There must be a way to do this automatically in a bash or perl script. I've tried both, but can't seem to get things to work properly.
View 2 Replies
View Related
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
Jan 5, 2011
I'm trying to understand if anyone is left on a server. Basically I manage a simple linux server remotely used by 3-4 individuals. I can never tell if someone is actually on or not using w/who.What I'm seeing is some people having what appears to be inactive/lost VNC sessions. I don't understand idle fully, but I do believe a program (without user interaction) can clear idle back to 0, correct?Anyway, I'm asking because every now and then I need to reboot the server, and I do not want to interrupt any program working on calculations or waiting on having the data saved.
Code:
me@matrix:~> w
06:59:54 up 170 days, 9:13, 16 users, load average: 0.52, 0.16, 0.06
[code]....
View 1 Replies
View Related
Aug 23, 2010
while doing FTP through command prompt, connections times out after some time remaining idle, but doing ftp through browser, connection doesn't time out after some time remaining idle... why is it so?
View 2 Replies
View Related
Dec 24, 2010
I'm a used Ubuntu user on a pc, and I like the french keyboard layout because it allows me to type accentued characters easily.I found a win-fr keyboard layout but it's much like windows and not so good.I found xmodmap.fr keyboard layout and I'd like to know if it was possible use it with my Mac SL 10.6.5, maybe I could do xmodmap xmodmap.fr or a way to convert to mac layout file.
View 1 Replies
View Related
Mar 25, 2011
How long will it take to zero fill 1TB (using dd dev/zero)?
I'm actually doing two 500G drive simultaneously if it matters.
View 3 Replies
View Related
Feb 28, 2011
I was running grsync (rsync gui) to do a backup of my root and home partitions to a local external hdd. Home is currently 21.2 gb and root is about 60 gb, but the backup ran for nearly 24 hours before I canceled it, without finishing. How long should an 80ish gb backup take to do?
I made sure to disconnect other externals so they wouldn't be backed up as well. It was just my root and home being backed up.
View 3 Replies
View Related
Oct 13, 2009
I am running Centos 5.3. I ran no updates, performed no installs, nor changed any configuration immediately prior to this issue. My problem is this: when I run the command startx (default runlevel 3), it is a long time (5-10 minutes) before Gnome startx, and once it does start applications will not run. Also, when I try to use sudo (from any environment, even ssh), it is a long time (5-10) before the command is executed.
I cannot say for sure, but it seems like this is an intermittent problem. Sometimes X takes a long time to start, but once it starts it will launch programs. Sometimes X takes a long time to launch, but once it starts it will only launch certain programs. Though presently X always takes a long time to start, and I cannot successfully launch any programs.
A while back a had a similar problem to this (x taking long time to start, sudo taking long time to execute) and it ended up being a DNS problem. Unfortunately, I cannot remember exactly what it was and I stupidly did not document it. Maybe this is also DNS related, I don't know.
I don't know what log files to look at for problems with X, Gnome, and sudo taking a long time to start.
View 19 Replies
View Related
Jul 26, 2010
I'm always hesitant to use /var/tmp/, because I never quite know exactly how long the files are kept there for, or even what the directory is used for. What determines when a file gets removed from /var/tmp/, and how is the directory intended to be used?
View 2 Replies
View Related
May 12, 2011
I want to search in many many files for a string.
I used find /archive/* -print0 | xargs -0 grep 'robert' -sl
Is there a simple method to do it ?
View 2 Replies
View Related
Sep 22, 2010
I managed to, in a bit of a "Oh shit, I'll lose my data" panic, be stupid enough to xkill the Ubuntu 10.04 installer while it was making an ext3 file system on my external hard drive. This drive was equipped with ext2, I had not set it to format (at least not consiously), and it had a LOT of data on it. Only half an hour after killing it I realized it might simply have been converting rather than formatting.
Anyway. Because this was my own fault I started searching for possible solutions. I tried e2fsck, ran testdisk and gpart, as well as several data recovery programs both from Windows and Linux. All I have been able to get back with that is a whole bunch of corrupted files and some music.
Now I have unleashed e2salvage on the beast, which so far has been looking promising, other than some "directory inside Inode table" errors. It found almost 20000 directories, and 174 directory beginnings.
View 1 Replies
View Related
Jul 29, 2010
I use a long mount command to mount a NAS drive but have to retype it every time I need to mount the drive. Because it is on my laptop I only need to mount the drive from time
View 4 Replies
View Related
Jun 12, 2010
I have two minor problems with Ubuntu which I've been running on my aging Fujitsu-Siemens Lifebook for a couple of years now.
First, I recently upgraded to v10.04 with no problems. However, I've just applied the latest updates via Update Manager and the laptop will now hang after the welcome screen.
There are no error messages, just a black screen and the case fan runs a full tilt until I force a shutdown. I've waited 5 or so minutes to see if it's actually doing anything but it would appear that it isn't.
The only way to boot the laptop is to choose an older Grub menu option, then it boots up fine. It may very well be a hardware issue because another (newer) laptop in the household has updated no problem.
Next, I tried to change the password of the admin account using "Users and Groups". It appeared to work but then I had to use the old password to log in again. On logging in I am prompted for the new password, the error message saying that the "token ring" password (I think it's token ring, I'm doing this from memory) doesn't match.
Again I can live with this quirk but it would be nice to put it right.
View 4 Replies
View Related
Apr 30, 2010
I am trying to run a code that is giving the following error ....
Code:
OverflowError: long int too large to convert
I have found its solution at [URL]
But the procedure described there does not work.. There are problems in installing ruledispatch module...
I am using ubuntu-9.04...
View 6 Replies
View Related
Feb 23, 2010
I'm having trouble with Vim in any terminal emulator I use. I have a link (vi) to vim. Occasionally it will take very long to load, whether I use 'vi' or 'vi file'. Before, if I could I would restart X, and then it would load instantly again, but I waited this time and it did load, after a minute or so. Is this a problem with X or vim?
View 9 Replies
View Related
May 31, 2010
I am changing the password of a truecrypt file container. This takes around 1 minute. Why?
time truecrypt --text --change /tmp/user1.tc --keyfiles= --new-keyfiles= --password=known --new-password=known --random-source=/dev/null"
If I use strace I see that it basically does not do anything: it simply reads lots of random data from /dev/urandom (even if i specified /dev/null as random source) and finally changes the password:
open("/dev/urandom", O_RDONLY) = 6
read(6, "36&{35121221234320234313242312I326235245224300354O)270Q200 201J227224311_212367"..., 640) = 640
close(6) = 0
View 1 Replies
View Related
Aug 11, 2011
The find command is taking too long on my machine to complete. When I use time command, I find that sys time and user time are too small as compared to real time. Is my find process not getting scheduled properly?
I interrupted the neverending find command and got the following statistics:
Real time : 5min
Sys time : 1.1 sec
User time : 3 sec
I was running
find / -name ls 2>/dev/null
View 2 Replies
View Related
Oct 14, 2010
How to break strings of command into multi-lines in crontab? e.g.
Code:
# the following is a very long a gruesome command to be run at 09:59 Monday to Friday.
59 09 * * 1-5 source $HOME/some-definitions; sh /usr/local/my/long/name/application/bin/hello $(date +\%Y\%m\%d) >>/var/log/my/long/name/application/log/hello.log
View 2 Replies
View Related
Jun 14, 2011
I have about 200k data entries in xml file. I wrote php script (using php-xml) to read xml file and insert into mysql. At first it went really quickly inserting, then after a while after inserting 100k entries, it slowed right down, just like it would not even doing anything. I have CentOs with 512M on VirtualBox running as server.
View 3 Replies
View Related
Aug 12, 2011
I want to source this file but getting error message as word too long,kindly solve this question. set path=(/user/lib/usr/bin /bin/usr/ucb/etc/usr/ccs/bin/$path)
setenv DOCUMENTUM /home/kotresh/dctm
setenv DOCUMENTUM_SHARED $DOCUMENTUM/dctm_shared
setenv DM_HOME $DOCUMENTUM/product/6.0
setenv JAVA_HOME /home/kotresh/dctm/dctm_shared/java/1.6.0_17
[Code]....
View 1 Replies
View Related
Jan 25, 2011
Quote:
#!/bin/ksh
DBcounttry_finalnofunc()
{
[code]....
View 6 Replies
View Related
Jun 8, 2010
I'm a Windows admin who does part time Linux server installs. Most of the time I'm asked to deploy a generic Windows server, install a few basic applications and if needed some other applications like Nagios or Zabbix. My question is for long term support, or patching should I be focusing on deploying with repositories to install applications or compile from source? In the Windows world you can patch and update from Windows Update, but is there problems using 3rd party repositories for future updates? Would one of these locations go off line?
View 9 Replies
View Related