General :: Creating Gauge With Dialog For DD Operation

Sep 18, 2010

I'm writing a script based on dialog and one of it's functions is to perform a restore with dd, of which I would like to show the progress by means of the "gauge" option of the "dialog" utility. I wanted to do this by sending a USR1 signal from time to time to the dd PID, because this results into the amount of bytes already being dd-ed ont the console screen. A simple calculation based on the orginal size would result into a percentage that can be fed to the gauge function of dialog.

The challenge I'm facing now is to launch an external script (I guess with "&" to send it to the background) that sends, let's say every 5 seconds a USR1 signal to the dd PID. That would be no problem, but how do I capture the output of this "kill -USR1" to the original script? I tested this and the output is not sent to standard ouput, so it must be that it is sent to standard error. For now I don't see a way out.

View 5 Replies


ADVERTISEMENT

Ubuntu :: Battery Gauge Dropping From 100 To 66% Once Unplugged?

Oct 10, 2010

I just noticed this issue today but when I unplug my laptop from its adapter, the battery loses 44% of its battery immediately, Is there any way of solving this?

View 1 Replies View Related

Software :: Users Too Much For Server - Gauge Whether The Proxy Is Being Overloaded?

May 19, 2010

gauge when the server is getting overloaded with users. At present I run the server mainly as a proxy server with about 100 users. The bandwidth at the data centre is 100Mbps connection with total bandwidth used last month = 17431.16 MB I would like to add a VPN in future but feel that this might overload the bandwidth as instead of it just being web traffic it will the entire client TCP connections. I would like to monitor this before it gets to the stage where users are complaining but not sure how to gauge whether the proxy is being overloaded. It is used mainly for video traffic.

View 11 Replies View Related

General :: Ubuntu Login Dialog Hot Key?

May 13, 2010

I am having trouble starting up Ubuntu (Karmic). Bascially I get to the bit where the log in dialog is supposed to appear, but it doesn't.

Is there a hot key of some sort to force the login dialog to appear?

Full details here: [URL]

View 2 Replies View Related

General :: Dialog Is Working In Centos 6?

Jul 26, 2011

Dialog is working in centos 6?

View 2 Replies View Related

General :: Dialog Output Not Readable On RHEL 5?

Mar 23, 2011

I have written a manual backup script with menus using the dialog command. When using this on a centos 5(CentOS release 5.5 (Final)) server the output is the way I would like to have it. But when using it on our RHEL server (Red Hat Enterprise Linux Server release 5.3 (Tikanga)) it is almost unreadable. This RHEL server has been installed by another company so I don't know what they have configured.Now when I try to create a dialog box it is just waiting but not displaying anything.

View 2 Replies View Related

General :: How Can The PAM Operation Be Logged

Jun 21, 2010

After I set to use some modules, say, pam_access.so, I want to know if there is a way for the administrator to check if any invalid attempt was happened and blocked by that module?

View 15 Replies View Related

General :: Flash Player Settings Dialog Unclickable?

Feb 28, 2010

I'm using Slackware 13. When a flash app pops up the allow/deny dialog, I'm stuck because the buttons are unclickable. My adobe flash player version is 10,0,42,34. How can I fix this problem?

Edit: I'm using fluxbox. I'm using an acer notebook with a synaptics touchpad.. both the touchpad and the mouse can't interact with the dialog.

View 3 Replies View Related

General :: GParted Stop After Next Operation

Jul 19, 2011

I was messing around with my drive trying some different arrangements of partition to get another one inside. overall the result doesn't differ much from the original but while messing with it I done a lot of steps. I thought GParted will do the minimal number of operations but it didn't. it just traced all my operations one by one. this gave it a few days worth of work. As I don't want to loose data I can't hit cancel but I don't want to wait few days for it. Is there any way to tell it to stop after completing the current operation? It's from natty ubuntu live cd.

View 1 Replies View Related

General :: Arithmetic Operation In Bash?

Mar 10, 2011

I've the following input file (sorted.txt)

Code:
A 1
A 1

[code]...

View 6 Replies View Related

General :: Gnome Has No Response To Any Operation?

Nov 4, 2010

I run SUSE on my machine for a year, but I'm really a newbie on Linux. In the system monitor it states:SUSE LINUX Release 11.2 Kernel Linux 2.6.31.5 -0.1 -desktop GNOME 2.28.0Last week when I rebooted my machine, I suddenly found my machine had no response to any click or typing. When the cursor move to any icons, they can be highlighted, but when I click them, no response at all. The weird thing is almost every time after I reboot the computer, it can work for a few minutes, then stop working. But if I press Ctrl+Alt+Backspace, it can be log out.

I think there must be something wrong with my GNOME, 'cause everything seems working fine when I login IceWM. recover the .config file in my home directory. But I don't have this file in my home directory.

View 4 Replies View Related

General :: F11 - Do Some Operation After Saving File?

Feb 21, 2010

I'm using fedora 11. I want to do some operation like after saving a file (moving ,copying,..) the system need to ask that "DO you want to encrypt?" . If yes I am able to run the crypt module (which I already implemented..). Is it possible to invoke a encrypt module which I implemented in c language.

View 2 Replies View Related

General :: Internal Operation Of Floppy ?

May 19, 2011

What happen internally when we insert the floppy into the linux operating system? Who will take care of making the entry in the /etc/mtab, etc. Tell me whole internal operation of the kernel when we insert the floppy.

View 5 Replies View Related

General :: Su: Cannot Set Groups: Operation Not Permitted

Feb 26, 2010

I am having a problem when I try to login as su.I type the command SU and then the password as normal and I get su: cannot set groups: Operation not permitted I am not sure what could of caused this error and how to fix it.

View 2 Replies View Related

General :: Create A Menu Box Window Using Dialog In Shell Scripting

Feb 3, 2010

I am using Linux on my system. I don't have gui for my system, only console is there.

I have some task to create a menu box window using dialog in shell scripting.

I have to take input from user & save it in a file.

But this should like html form as e.g.

Name - .....................
email id - ..................
phone - ......................
location - ...................

Submit Cancel

Such window should be displayed on console using dialog & then user will enter his information there as Name,email id, phone,etc & submit it, then it gets saved to a file. Here submit & cancle are buttons. I have to do it in bash shell scripting. Or give me some examples like the above with shell script code.

View 1 Replies View Related

General :: Iproute2 Not Functioning - Operation Not Supported

Jan 13, 2011

The command and error message:

gtwy ~ # ip rule add from 64.251.23.186 table t1
RTNETLINK answers: Operation not supported

Older article of the same problem, but it did not help me: http://forums.gentoo.org/viewtopic-t-696982-start-0-postdays-0-postorder-asc-highlight-.html

I have looked on google at great lengths to try to find a solution. It seems that my kernel configuration is missing something? My system/kernel is: 2.6.36-gentoo-r5 #3 SMP Thu Jan 13 10:49:06 EST 2011 x86_64 Intel(R) Xeon(R) CPU X3220 @ 2.40GHz GenuineIntel GNU/Linux.I am posting this on SuperUser since this system is used as a workstation and this problem is unrelated to specific tasks that are handled exclusively by servers.iproute2 is installed:

gtwy etc # emerge --search iproute2
Searching...
[ Results for search key : iproute2 ]
[ Applications found : 1 ]

[code]...

View 1 Replies View Related

General :: Find The Equivalent Command Of A Gui Operation?

Apr 12, 2010

We often require to find an equivalent text command for any GUI operation. Just as an example we click on a folder (say ABC) from the current directory in order to see the contents of that directory. The equivalent command for it to happen would be->

Code:
cd ABC ls Now the thing is that we often don't know what that equivalent command will be. So I want to know that is there any way out to find it. What I want to do is that I shall perform any operation using mouse in the GUI mode(whatever operation it could be) and then I can see a log file to see what I actually did last(rather what the command would have been if I have worked in the text mode)...

View 1 Replies View Related

General :: HP Pavilion Ze2805 Shuts Down After 10 Min To 7 Hrs Of Operation?

Jan 12, 2011

When I first received it (used) a few weeks ago, this only happened occasionally and it took a while for a pattern to develop. The 7 hr stretch was listening to music of WCPE.org, but the next day I only could get minutes from the same site It sems to get progressively worse, yet the outside of the case, near the fan or anywhere else,doesln't get uncomfortably warm. I had another unit from the same vendor. He took that back and sent this one after a 24'hour test, but will not answer further communication. Generally I get best results if it has sat shut down overnight, but this morning even that was good for only a few minutes. It does this running XP from the hard disk or Linux from CD. Actually I would like to split the hard disk and put Linux on the second half as the default boot. But it won't run long enough to install anything now!

View 1 Replies View Related

General :: Xattr In Arch - Operation Is Not Supported

Nov 8, 2010

I installed pyxattr to play around with, and when I try to set them it says that the operation is not supported. Does Arch Linux not support xattr, or how do I enable them?

View 10 Replies View Related

General :: Command Line - Show Entire File Contents In Dialog?

May 20, 2010

I want to show the contents of a file on Dialog box for which I have use the "--textbox" dialog and "--tailbox" dialog.

But it doesn't show the whole contents of file, it only shows some of the data.

How do I get it to show the entire file data?

View 1 Replies View Related

General :: Access Or Format On Doing Operation On Volgroupharddisk On Fedora 13?

Feb 26, 2011

I had only Fedora 13 on my Dell Inspiron 1545. I found that there is a harddisk named volgroup in my computer & one another disk on which Linux is installed. The problem is that I can't access that space of my harddisk. It cannot be mounted.

View 1 Replies View Related

General :: Sudo Rights Expired After A Few Hours Of Operation

May 4, 2011

I was observing the following behaviour:

py script:
os.mkdir(path) #all OK
operations_that_take_10hrs_to_complete()
os.mkdir(path) # permission denied

like I lost my sudo rights after some time ..

View 1 Replies View Related

General :: Certification Verification Is Failed / Don't Want To Terminate Operation

Aug 6, 2010

I am having an issue with HTTPS certification using curl. My curl is configured with OpenSSL. If the certification verification is failed I dont want to terminate the operation, instead I want to continue by just putting a log message. For this I have used OpenSSL SSL_CTX_set_verify() function to set my static C callback function. During HTTPS transaction, my callback is also getting called with first parameter 0 or 1 (depending upon of the certificate verification is success or failure). But even if my certification verification is failure, I want to continue. So I have hard coded to return value as 1 always from my callback function. But still I see the certification error and I don't get the page.

View 1 Replies View Related

General :: Changing Ownership Of 'file Name' : Operation Not Permitted

Oct 14, 2010

I`ve been given a project to design a program that will interface with a hardware device through the parallel port.And so far it`s not going go. I managed to write the programe an compiled it, but when runing it the compiler says: 'changing ownership of'and then the file name then it continues to say, 'operation not permitted'.

View 9 Replies View Related

General :: No Space On Root After Large Move Operation?

Feb 16, 2010

I tried to move 2.7TB of data from my /var/webroot/ partition (4.5TB total in size). I left it to run over night, this morning when I came to check I saw that all data on / paratition is used up and no operations can be done because of the "no space left on device" message.

Code:

Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p7 911G 911G 0 100% /
tmpfs 7.9G 0 7.9G 0% /lib/init/rw

[code]....

I freed up several hundred MB from / but still the usage is at 100% and I cant free up any more space or complete the transfer ?

View 1 Replies View Related

General :: Single Click To Activate Items - Gnome - File Locate Dialog

Jan 21, 2010

I have changed the preference in the Nautilus file manager/browser to "Single click to activate items" and it works.

However, when I run an application, say Totem Movie Player, and select Movie/Open I am presented with a Nautilus like file navigation dialog. This is a common dialog to most Gnome applications - probably part of Gnome. Problem is, the dialog does not respect my "single click..." preference.

I have tested this in Ubuntu 9.10, 10.04 alpha 2 and CentOS 5.4 - I do not think it is distribution related.

View 2 Replies View Related

General :: NTP - Remote Host Refused An Attempted Connect Operation

Jul 24, 2011

When I do a ntpq -p on my machine I could see the ntp servers configured and it's status:

But when I telnet to ntp server "10.1.35.2" it says A remote host refused an attempted connect operation:

I know * here represents that the machine is in sync with ntp server. My question if the machine is in sync with ntp server, how does it work?why ntp port 123 is connection refused?

View 1 Replies View Related

General :: Chmod: Changing Permissions Of Public_html: Operation Not Permitted

Apr 6, 2010

I run a small site and today I've discovered that my site is down. I found that cPanel has flagged the account suspended even though I haven't got any quotas on the account. I don't know what went wrong. I've tried to unsuspend the account in WHM but a certain part of the function failed.

Quote:

safe_userchgid: chown: /home/crocbits/public_html: Operation not permitted at /scripts/cPScript/SafetyBits.pm line 93.

After searching the internet someone mentioned that the problem might lie in the permissions of the public_html folder. I had a look at the permissions and the folder had no permissions d----- When I try to chmod the folder I get this error:

Quote:

chmod: changing permissions of `public_html': Operation not permitted

I have no idea what to do next. All the files in the directory are locked too. I tried to move them but this command isn't allowed either. I ran these commands under the 'root' user in SSH.

View 11 Replies View Related

General :: Display String In Row / Column - Time Sorting Operation?

Aug 13, 2010

1. Given a string, row no. and col. no., I want to display it in the screen appropriately. how to do this?
2. How can I find the cpu processing time taken in carrying out the sorting task (any sorting program)?

View 4 Replies View Related

General :: Chroot Error - Cannot Change Root Directory To /jail - Operation Not Permitted

Apr 18, 2011

I am trying to create a jailed shell for a user Don($UID '500') using my own method(I don't want to use any ready-made "jailkit"). The user don should get a home directory /jail/don instead of /home/don when he login via SSH (So that he will not able to see any other files/directories on the system)

This is what I have done.

Quote:

Code:

It works without any issue ....Home directory changes to /jail/don when I ssh to the system as user don. ie: #ssh don@192.168.0.66

Then I added a chroot command to this code.

Code:

Unfortunately , now I am getting an error message saying that "chroot: cannot change root directory to /jail: Operation not permitted" .. I am not sure how to rectify this error... Is my approach correct to get a jailed shell using /etc/profile file ?

View 8 Replies View Related







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