General :: Edit The Timeout Value For In Cpu?
May 19, 2010
send pings test for hours to my router 10.0.1.1 and the ping test is perfect, never fail. 8024 send packages, 8024 packages received.
Now but when make the same ping tests for hours to my linux CPU, i saw that sometimes the ping test say timeout Whan can i do? Can i edit the timeout value for in my linux cpu? what you think? This is making me crazy because me linux cpu is loosing packages..
Code:
[root@TornadoR3 ~]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:08:02:F9:AB:FF[code].....
View 12 Replies
ADVERTISEMENT
Aug 4, 2011
I set the default os to boot as windows 7 with a timeout of 1 second. I thought that this would be enough time to switch os ubuntu when i need to, but I am unable to. How can i reset the timeout to 3 seconds? I also cannot view the ubuntu partition within windows because of ubuntu's file system.
View 9 Replies
View Related
Mar 30, 2011
I have a web application that runs through thousands of IP addresses and checks if they're online. Basically, if a server uses more than 250ms to respond, it's considered offline in our case. It would be an enormous timesaver if we could get the ping command to give up after about 300 ms, instead of what seems to be the minimum value of the -W parameter, 1 second.
View 2 Replies
View Related
Sep 14, 2009
I am geting a bit confused regarding the autologin of a user , and in need of help desperately. Could anybody please help me with the below queries :
How can we set autologin for any normal user in RHEL5 ? Also, How can we then logout such a user later, as we can't logout such user normally ? How to set timeout for such autologin users ?
View 1 Replies
View Related
Mar 26, 2010
Running openSUSE 11.2 with Gnome. After a relatively short period of time, screen goes blank, and when I click on it, I get presented with password prompt, and when I enter it, I'm back where I left off. I don't see how to change this, and all the time I've spent so far in YaST trying to find out where this setting is kept and how to change it has been wasted effort. So now I'm asking: how do you change this to something a little more reasonable?
I'm taking an online SuSE LINUX class, and as they cover different topics, I jump over to the Linux system (which I have running in a vm under VMWare server on W2K3) and try stuff out, and most of the time I have to enter my password because I was away too long.
View 2 Replies
View Related
Apr 19, 2009
here is my grub.con
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
[code]...
View 15 Replies
View Related
Mar 14, 2011
I want to kill a process when timeout where 2 processes are running parallel or simultaneous in a same user witout effecting the another process,i have used the command
ps -ef |grep user
kill -9
but its killing another process suppose if i try to kill with processname sub processes in that process converting as daemon process and its not killing sub processes when killing parent process.
View 1 Replies
View Related
Jun 8, 2011
I have written simple TCP server-client programs in 'C' on my RHEL 5 64 bit.I want to add SEND and RECEIVE timeout for this socket; so that if server is not responding in given time, request will get timeout instead of waiting in "recv" call.But I failed to do so.
View 6 Replies
View Related
Feb 10, 2011
How do I configure so that only root and my main user can create AT jobs?
How do i set a bootloader password with timeout value and change the display name?
View 4 Replies
View Related
Nov 11, 2010
I've been trying to figure out what Apache directive is causing this:
Code:
[Thu Nov 11 15:00:00 2010] [info] [client x.x.x.x] Request header read timeout
My apache version is:
Apache/2.2.14 (Ubuntu)
I have google searched for this error but cannot seem to find any matches or information.
View 3 Replies
View Related
Jan 14, 2010
Aboard TinyCore 2.7 and opting to run without Xorg. I'm needing either a pointer or syntax example. Seems my monitor supports dpms after executing a quick one-two with:
$ xset s blank
$ xset s 150
Yet I'm unsure how it would look placed in Tinys .xsession:
Code:
Xvesa -br -screen 1024x768x32 -shadow -mouse /dev/input/mice,5 -nolisten tcp -I >/dev/null 2>&1 &
waitforX
"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
[ -n "$THEME" ] && cp /opt/jwmThemes/"$THEME" .jwmrc-theme
if [ -n "$BACKGROUND" ]; then
setbackground image /opt/backgrounds/"$BACKGROUND"
else
[ -x ./.setbackground ] && ./.setbackground
fi
[ "$ICONS" == "wbar" ] && /usr/bin/wbar.sh
[ -x ./.mouse_config ] && ./.mouse_config &
[ $(which flit) ] && flit &
[ $(which watcher) ] && watcher -g +0-0 &
View 2 Replies
View Related
Feb 10, 2010
I get the following error if i try and send to my mailserver. I'm running SuSe 11 with sendmail and dovecot. I can send emails no problem. I have looked around and looks like it's not my diskspace on the machine i don't have any quota's on mailboxes.
View 1 Replies
View Related
Sep 8, 2010
I am trying to use Tiny Core as the OS for a fairly old embedded device using a Pentium 100 with 64MB Ram.
I managed to get the Tiny Core image loaded onto a 128MB CF card. When I turn the box on, it presents me the Grup screen and I can select the bootup option (tinycore). However, soon after I am getting a DMA Timeout Error.
Also in this link: http://www.linuxquestions.org/questi...ble-it-734489/
Now, I am not familiar with Tiny Core all that well, and neither am I sure of how to modify the initramfs to include: hdparm -d0 /dev/hdb.
View 2 Replies
View Related
Oct 12, 2010
I'm using timeout core utility in my bash shell script. The problem I'm facing is I want the PID of the command which is supplied to timeout. Let me explain with the code I'm using:
Code:
#!/bin/bash
timeout 120 ./prog1 &
[code]....
View 5 Replies
View Related
Nov 11, 2009
Owned linux laptop (running UBUNTU) for 1.5 yrs. Love it. No problems... until:
1. I changed my password, via System - Admin - User & Groups - Properties. (I just typed 2 characters on the end of the old User Password and the Confirmation password and OK'd it all.
2. Shut down laptop. Upon restarting it (only minutes later), neither the new pw or the old one worked.
3. Googled for help on another machine. Booted linux laptop up in recovery mode and used the passwd <?> command to reset pw (back to the original one!).
4. Shut down. Started laptop up again... forever more firefox runs like a dog. Normally (90% of the time) it times out before reaching a page, though it is trying to transfer the data.
Let's be clear about this. It was fine. The very next time I used firefox - minutes after the password debarcle, it was cac, and has remained cac ever since.
I've been whizzing around on firefox for over a year without any issues. There have been no changes to the router. My microsoft laptop has no issue with the internet so it cant be router or telco related. Though I did reset the router (power and phone line) just to be sure. It didn't help.
I clear the private data (Tools menu) in firefox regularly (daily-ish). That is the only housekeeping I do on this machine. (It only gets used for mail, internet and the odd simple OpenOffice document). There is stacks of space left (70 Gig). I'm not sure how to check memory.
Googled for help and tried some command to purge temp files. That didn't help.
I love my linux laptop, but currently I'm having to resort back to my windows one.
View 3 Replies
View Related
Jun 29, 2010
I have fedora version 8 with mysql 5.0.45 installed. I have also installed drupal. Recently drupal gave me an error "error code 28". When i checked it out it seemed to be with the db. When i tried to created a db (for testing purposes) in root...i wasn't able to. so then i tried to restart mysql ...it stopped but unfortunately i have not been able to get mysql back up...i get a message saying
"Timeout error occurred trying to start MySql Daemon".
View 4 Replies
View Related
Feb 11, 2011
I come from the Mac world, where I use [URL] to edit text from anywhere in Vim.
Is there anything like that on Linux ? I'm already using "It's All Text" in Firefox, but I'm looking for something broader.
Also, I've looked at this thread, but it's only solutions for software X, and software Y.
View 3 Replies
View Related
Jun 21, 2010
can I change the ECC code for a block of a file stored on a flash drive by any means ? of a file stored on a HDD (though I don't think there would be a difference between the two)Maybe , through some hardware interrupts or anything like that?Also if possible I need the solution to be in C/C++.
View 3 Replies
View Related
Sep 4, 2010
I need to change one word in over a thousand pages of HTML. I think sed is the only way to do this, but I've never used sed before.
After reading the documentation, I see that it is pretty easy to alter files to standard output, in other words, the screen.
But I don't want to do just alter text to the screen, I want to alter the original file, else I am not doing any Stream EDiting as near as I can tell.
None of the documentation explains how to take a file, apply sed to alter that file. How do you do this?
Code:
[myuser@myhost dir]#sed s/changethis/tothis/ /mydir/myfile
How do I apply sed to actually make the changes to myfile?
View 3 Replies
View Related
Jun 23, 2011
I am having big trouble with rc.local on my system.My system is CentOS 5.5 64X.My default startup is is 3, so rc3.d is where I was looking into.rc.local with permissions 755.Inorder to solve the problem I made the following test
.
1. No matter how I edit rc.local, it will not be executed, even a copy from other Linux system that runs rc.local fine.
2. All S99 service under rc3.d won't run when S99local is there.
3. All service executed just fine if S99local removed from rc3.d.
4. If I change S99local to S97local, Anything in S97, S98, S99 won't run.
5. I tested rc.local with Code:echo "rc.local is executed just fine" >> /root/test.txt by adding it after "touch /var/lock/subsys/local" [FAILED, test.txt not found after restart]
6. I tried to execute rc.local with Code:sh /etc/rc.local it was SUCCESSFULLY executed without any error, and everything in rc.local runs fine.
View 2 Replies
View Related
Jun 1, 2010
I setup a cron job to trigger a script that I wrote every morning at 12:00 AM, but it does not seem to be working.
This is how I edit the job using crontab -e
Why it isn't triggering at 12:00 am every night. If I run the script manually it works just fine so I know is not the script causing troubles.
View 7 Replies
View Related
Feb 27, 2011
I want something like
Code:
export ROS_PACKAGE_PATH=~/ros:$ROS_PACKAGE_PATH
to be done already for me when I open a new terminal. How do I edit the .bashrc so that this variable is always set already?
View 3 Replies
View Related
Dec 25, 2010
I am learning vi and like it so far. I am writing Python code with it and would like to change my tabs from 8 spaces to 4. I saw somewhere that I should edit my .vimrc file and add :set tabstop=4, but I cannot find it (even when I run :version in vi, it tells me where my user and system .vimrc files are, but I cannot find them there).
View 4 Replies
View Related
Feb 4, 2011
I use a linux machine at work and a mac at home. I can ssh from my machine at home to my work machine. But the only editor that I have access to on the command line then is vi, which I don't like.
Is there a way to use gedit on my mac to edit files remotely over an ssh connection?
This page says that it can be done, but I think that it assumes that you are using gedit on ubuntu. On my mac (os 10.5.8) I don't have the "bookmark" option when I click "connect to server".
[URL]
View 3 Replies
View Related
Jan 13, 2010
I am not a big skype user, but I was chatting with my sister, made a typo and habitually typed
tpyo
s/tpyo/typo/
to my surprise it actually changed the history. I am using the linux skype client 2.1.0.47-r1 and my sister is using 4.something on windows.
When she tried to do the same thing, it didn't work. Does anyone know if this is specific to the linux version?
View 1 Replies
View Related
Sep 12, 2010
My computer's fine, and is running Puppy Linux happily, but I'm having trouble entering my BIOS menu (I forget the access key, and no matter which keys I try, Puppy Linux boots up).
Is it possible to edit BIOS settings from a LiveCD?
View 3 Replies
View Related
Oct 9, 2010
I have gone over the thread "Learn The DD Command Revised" (It was Fantastic) in the search for a solution to my query.
I have seen posted elsewhere that this code is supposed to be able to change the UUID number of NTFS partitions (useful when multi-booting with Grub2 and cloning partitions). Here is the code:
Code:
sudo dd if=/dev/urandom bs=80 count=1 | xxd -l 80 -c 8 | tail -1 | xxd -r - /dev/sda1
This is assuming that I want to change the UUID on the 1st partition on the 1st hard drive >>>sda1<<<
If I was trying to modify the 2nd partition on the 1st hard drive it would be >>>sda2<<<
[Code].....
NOTE: I was doing this while booting from Ubuntu's Live CD version 10.04.1 LTS (In case that is a factor)
View 10 Replies
View Related
Feb 25, 2010
I am new to shell script and need to edit an xml form script.
The XML file is something like code...
If the user selects element1, the script should modify only element1 values and not element2 values.
I need it to be done from bash script. I can't use python or perl for the same. Please provide me a way to do so.
View 6 Replies
View Related
Apr 27, 2011
I need to have regular user run this command sync; echo 3 > /proc/sys/vm/drop_caches
but it requires root privileges that I cannot give.
So I figured they could run the command as "sudo". I looked in /etc/sudoers and wasn't sure what I needed to edit for the users to run the following command
sync; echo 3 > /proc/sys/vm/drop_caches
View 14 Replies
View Related
Jun 28, 2010
I have a directory with hundreds of html files.
For all the files I have to:
- delete all the row from the beginning of the file to the sentence "<img src="immagini/_navDxBottom.gif" />".
- delete all the rows from the sentence "<br clear="right" />" to the end of the file.
How can I do that?
View 3 Replies
View Related