Slackware :: Check Proccess Status With /dev/urandom?
Feb 24, 2011
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 recently tried to upgrade from 2.6.23 to 2.6.32 but kept on getting VFS errors. I had overwritten the old 2.6.23 kernel so there was no going back. Luckily,I had the 2.4.31 kernel still in the /boot directory.
Anyway, I finally got some time to figure out the VFS issues and I managed to solve the VFS kernel panics. It was probably a forgotten configuration setting during the make menuconfig. Now it boots up only to hang right after the "Using /etc/random-seed to initialize /dev/urandom".
Looking at the rc.S script, the next section does the dd if=/dev/urandom of=/etc/random-seed count=1 ...
I know for a fact that it isn't that line that hangs the system. I commented out that line and it still hangs.
Strange thing is that I can boot up 2.4.31 with no problem; but with 2.6.x, I get a hang-up. I did a google and came up with something about rc.udev.new, which I don't have.
Can someone point out to me what is executed right after/etc/rc.d/rc.S? Or maybe point out where it might be hanging? (To be honest, it's either a hang up or a process that's taking an extraordinary long time to run.)
want 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)
We 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?
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.
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.
In 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?
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.
I 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.
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)
I 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?
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).
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 have a server that cannot generate enough entropy to support /dev/random. The particular piece of software having problems can't be configured to use /dev/urandom.
I tried moving /dev/random to /dev/realrandom and symlinking /dev/random to /dev/urandom, but lsof /dev/realrandom still shows processes using it.
In Does urandom share the same entropy of random?, the suggestion is to use mknod /dev/random 1 9. Will this hold across restarts? Should I be using udev somehow?
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..
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.
Does the entropy pool /dev/random used the same to /dev/urandom?
I want to
mknod /dev/random 1 9
to replace the slow random, I think the current entropy is randomly enough, if urandom is based on the same entropy, and all succeed random numbers are generated based on that entropy, I don't think there'll be any vulnerable.
Having 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
Im trying to get away from the world of M$ into linux and I think slackware is the way to go for me. In particular SW13-64bit. My question is though I dont see many hardware manufacturers supporting SW, but I do see suse and redhat. How hard/possible is it to use redhat suse drivers for slackware? Can they be modified/rebuilt?
Im also considering buying a cheap server off ebay to use. Can someone let me know if any of the following would cause an issue with slackware?In particular the Adaptec sata raid controller which I want to run in raid 5.
If I reboot I get the message "/dev/mapper/swap" doesn't exist. It seems, that crypsetup doesn't setting up the encrypted block device. SElinux is in permissive mode.
rm: cannot remove 'var/lib/urandom/random-seed' : read-only file system this is what i get every time i try to boot. right now im in the live cd looking for the read-only system so i can remove it but i cant seem to find it mounted any where the only system i see besides my two hdds is /dev/loop0 and i cant do anythign with the drive because its busy
I 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).
KDE update a number of components in tonights update. When I have gotten this error the past I could simply delete the .kde folder in my home directory and KDE would rebuild one and start. Doesn't work this time.Am I missing something or has something failed to download and install properly