Sponsored Content
Operating Systems Linux Red Hat VMBox not Recognizing eth0 on RH. Post 302569302 by rcmjivaro on Sunday 30th of October 2011 07:56:06 PM
Old 10-30-2011
device name

On the host o/s, type:
ip addr
to get your device name.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

recognizing * character

i have a short script that takes a filename and secure copies the file to a remote machine. i'd like to be able to take a * character and secure copy all the files in the directory. first of all, how would i compare $1 to see if it's a * character? if or didn't do it. second question is... (3 Replies)
Discussion started by: csejl
3 Replies

2. Shell Programming and Scripting

recognizing *.* in find

hi folks, I am trying to write a script for deleting all the files which are older than "N" days from current directory. CODE: FileName="*.*" NumDays=-1 echo $FileName echo $NumDays find * -prune -name $FileName -mtime $NumDays -exec rm {} \; Now the problem here is when i... (3 Replies)
Discussion started by: amarnath
3 Replies

3. Solaris

Apache 2 configure not recognizing options

Hello all. I am trying to compile Apache 2 (again!) and the configure script keeps telling me it does not recognize the options. Everything I am including is in the --help list. For example: --enable-so. First I will put in the LD flags, then configure with the --enable-so option. ... (2 Replies)
Discussion started by: RobertSubnet
2 Replies

4. Red Hat

RHEL 5.5 on VMBOX

I am currently working with 2 virtual machines (VirtualBox), my plan is to configure a kickstart for rhel 5.5 on one and using the other to install it too. The problem I have having is the machines do not talk to one another ?! I am running ubuntu 10.04 with (2 VMboxes) that do not talk to... (8 Replies)
Discussion started by: NelsonC
8 Replies

5. Shell Programming and Scripting

Recognizing an argument in csh

I will be passing an argument to a csh script The script can be either of two forms For example, either script.csh zloc=5/10 or script.csh zloc=5/10/20 So there can be either two values or three values. How can I distinguish which one the user has inputted? I have made... (1 Reply)
Discussion started by: kristinu
1 Replies

6. Solaris

Solaris not recognizing RAID 5 disks

I've just installed Sol 10 Update 9 on a Sun 4140 server and have a RAID 1 configuration (2 136 Gb drives) for the OS and have created a RAID 5 array (6 136 GB) drives. When i log into the system I am unable to see the RAID 5 disks at all. I've tried using the devfsadm command but no luck and... (9 Replies)
Discussion started by: goose25
9 Replies

7. Shell Programming and Scripting

sed and recognizing a runtime parameter

I thought I posted this before, but cannot see the post, so will re-post. Apologies if it now appears twice ! My script prompts for a 7 digit parameter : read f1 I then run a find command to search for files with $f1 in its contents : find . -print | grep $f1 {file} > temp1 I then run a cut... (1 Reply)
Discussion started by: malts18
1 Replies

8. Solaris

Solaris 9 not recognizing CDROM drive

Hello, I've read many posts that offer tips on how to mount a CDROM but I haven't seen any on how to get the system to recognize the CDROM drive. I was transferring files from CDROM to the hard drive successfully. I entered the third CDROM and the system refused to automount it. I tried... (2 Replies)
Discussion started by: TrueSon
2 Replies

9. Filesystems, Disks and Memory

Recognizing storage from server

Hi, I need to know what are the storages attached to some of our corporate servers. I run this command from the server only to get a list of WWNs : # /usr/local/bin/evainfo -a Devicefile Array WWNN Capacity ... (1 Reply)
Discussion started by: anaigini45
1 Replies

10. Shell Programming and Scripting

Script program is not recognizing the -w

Sorry I put -r I ment to out -w but its not perform none of -w, -r, -x flags Using centos 6.4 #!/bin/bash echo -e "enter the name of file :\c" read file_name if then if then echo "Type some text date. Tp quit press crtl-" cat >> $file_name ... (2 Replies)
Discussion started by: zbest1966
2 Replies
SLEEPD(8)						      System Manager's Manual							 SLEEPD(8)

NAME
sleepd - puts a laptop to sleep during inactivity or on low battery SYNOPSIS
sleepd [-s command] [-d command] [-u n] [-U n] [-I] [-i n] [-E] [-e filename] [-a] [-l n] [-w] [-n] [-v] [-c n] [-b n] [-A] [-H] [-N [device] [-r n] [-t n]] DESCRIPTION
sleepd is a daemon to force laptops to go to sleep after some period of inactivity. This is useful if your laptop does not automatically go to sleep when you aren't using it, and, like me, you often forget to shut it off. It is also capable of suspending a laptop when its bat- tery gets very low. sleepd can detect activity in several ways. The default is to poll both event devices and interrupts to detect when your laptop is in use due to keyboard or mouse activity. It defaults to polling /dev/input/event*. You may specify a list of device files to poll instead, or use options to enable other means of checking for activity (network activity, utmp, or load average). After a configurable amount of time with no activity, sleepd runs a program to put the laptop to sleep. OPTIONS
-h, --help Show summary of options. -n, --nodaemon Don't fork to background; run in forground. -v, --verbose Output status messages. -u, --unused Number of seconds the laptop can remain idle before being put to sleep. Defaults to 600 seconds (10 minutes). Set to 0 to disable any sleeping due to idleness. -U, --ac-unused If set, controls the number of seconds the laptop can remain idle before being put to sleep when running on AC power. If not set, the laptop will not sleep when it's on AC power. -e, --event Adds an event file to the list that is watched. Using this switch disables polling all files in /dev/input/event*. -E, --no-events This switch disables event device polling. -l, --load If set, a load average higher than this number will prevent the computer from sleeping If not set, the computer will ignore the load average. -w If set, sleepd will also check idletime based on utmp. This will prevent the system from sleeping while remote connections are active. It uses the time limit from -u. -i, --irq Adds an irq to the list that is watched. Using this switch disables automatic detection of keyboard and mouse irqs unless -a is specified as well. -I, --no-irq This switch disables interrupt polling. -a, --auto Automatically detect and watch mouse and keyboard irqs. -s, --sleep-command Command to run to put the laptop to sleep. Defaults to "apm -s" for systems with APM and "pm-suspend" for systems with ACPI. -b, --battery If this option is specified, the daemon will put the laptop to sleep if the percentage of battery charge drops below the specified number and the system is off AC power. This is useful for some laptops which don't handle this themselves. It supports using APM, ACPI, and HAL for querying battery status. -d, --hibernate-command A command to run instead of the regular sleep command when the battery is low. This can be useful if you want to make the system go to sleep when it's not active, but suspend to disk if the battery is low. If not set, the sleep command is used. -N, --netdev Monitor a network interface for activity based on packet count. eth0 is the default. This option may be used more than once with different network interfaces. -t, --tx-min Set a baseline transmit raffic rate in packets per second for network monitoring. Requires -N. -r, --rx-min Set a baseline receive traffic rate in packets per second for network monitoring. Requires -N. -A, --and Only go to sleep if all specified conditions are met. For example, only sleep if idle and if the battery is low. -c, --check-period Number of seconds between check on system status. Defaults to 10 seconds, which should be fine generally. -H, --force-hal Force HAL to be used instead of ACPI or other methods to query battery status. SEE ALSO
sleepctl(1) http://kitenet.net/~joey/code/sleepd/ BUGS
Interrupt monitoring cannot always detect keyboard and mouse. If the keyboard or mouse interrupt is shared (as is common with usb devices), other devices on the same interrupt can keep the system awake. Use event device polling instead. AUTHOR
Joey Hess <joey@kitenet.net> SLEEPD(8)
All times are GMT -4. The time now is 03:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy