10-13-2003
Very funny,
I heard it should be possible, but never found out how :
autowakeup
If the hardware has the capability to do autowakeup, the system is shut down as if the value were shutdown and the system will be restarted automatically the next time the time of day equals finish_time.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am getting this message when I run my script.
$ runscript.sh
Not connected to any service!
Here is the beginning of the script:
# 1 - failure
#
# variable declaration
FILEDATE=`date +"%Y%m%d"`
Not connected to any service!
Right after the FILEDATE gets loaded I get that... (6 Replies)
Discussion started by: lesstjm
6 Replies
2. Programming
I have encountered a strange problem dealing with pipes
and forking. The program basicaly does this:
cat file | tbl | eqn | groff
Now, I have a parent process that forks children
that that exec the stuff that they should. The pipes defined
in the parent are the ones used.
The chain goes... (1 Reply)
Discussion started by: denoir
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have two machines, one is a E3500 and the other one is a V490;
I face a strange issue with both of them. The boot up sequence gives the output of the devalias command. Has anybody faced this?? Please do let me know what needs to be done o resolve this.
Regards,
NP (1 Reply)
Discussion started by: nitinp82
1 Replies
4. UNIX for Dummies Questions & Answers
I have Debian Etch release as a fresh install on a PIII to be a router/firewall. I've configured networking, and utilized Shorewall to set up iptables scripting. I've installed dhcp3, both client and server, to pull an ip from my broadband cable modem, and dish out ip's to a switch for other... (2 Replies)
Discussion started by: pflink
2 Replies
5. Shell Programming and Scripting
Hey, I'm trying to use awk for some simple file manipulations but i'm getting soem wierd results.
So i want to open up a file which looks like this:
@relation 'autoMpg'
@attribute a numeric
@attribute b numeric
@attribute c numeric
@data
-1.170815,0.257522,0.016416... (2 Replies)
Discussion started by: amatheny
2 Replies
6. AIX
Hello
It appears that on a regular basis, perhaps when weekly rebooting happens, not sure yet, my odm becomes out of sync.
When doing a smitty file system list by volume group, the FS type is displayed as ??? on several FSs. Always in the same VG.
I know how to fix this problem, thing is,... (4 Replies)
Discussion started by: mhenryj
4 Replies
7. Programming
Hi,
Please see this:
When i make a declaration as:
char *i, j, *k;
and then do
sprintf( k, "print.sh %s", i );
the program works fine.
But when i change the declaration to:
char *i, *k;
and then do
sprintf( k, "print.sh %s", i );
I get a segmentation fault at the 'sprintf'... (16 Replies)
Discussion started by: karthikb23
16 Replies
8. Shell Programming and Scripting
Hi all,
Encountered a wierd behaviour which I am unable to understand.
I have a function doing the follow:
function RETRIEVE_PASSWORD
{
if (( $DC_ACCOUNT ))
then
clear
printf "\nEnter Password for ${ConfiguredUser}"
printf... (1 Reply)
Discussion started by: srage
1 Replies
9. Shell Programming and Scripting
Hi experts,
This is what Im doing...
file_cnt=`cat abc_ | wc -l`
head -$file_cnt abc > abc_2
if ; then
error "failed on rename abc_ > abc_2"
exit 1
fi
try_run "rm -f abc_"
try_run "mv abc_2 abc_"
This is what the output on screen, I get on executing---->
+ + wc -l... (5 Replies)
Discussion started by: nss280
5 Replies
10. Linux
I Have a COBOL application running over iscobol platform in Linux server.
we run Red Hat Enterprise Linux WS release 4 (Nahant Update 4)
Kernel \r on an \m
and the command "uname -a" gave me that:
Linux trilinux 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
... (1 Reply)
Discussion started by: TheReverend
1 Replies
LEARN ABOUT OPENSOLARIS
machid
machid(1) User Commands machid(1)
NAME
machid, sun, iAPX286, i286, i386, i486, i860, pdp11, sparc, u3b, u3b2, u3b5, u3b15, vax, u370 - get processor type truth value
SYNOPSIS
sun
iAPX286
i386
pdp11
sparc
u3b
u3b2
u3b5
u3b15
vax
u370
DESCRIPTION
The following commands will return a true value (exit code of 0) if you are using an instruction set that the command name indicates.
sun True if you are on a Sun system.
iAPX286 True if you are on a computer using an iAPX286 processor.
i386 True if you are on a computer using an iAPX386 processor.
pdp11 True if you are on a PDP-11/45tm or PDP-11/70tm.
sparc True if you are on a computer using a SPARC-family processor.
u3b True if you are on a 3B20 computer.
u3b2 True if you are on a 3B2 computer.
u3b5 True if you are on a 3B5 computer.
u3b15 True if you are on a 3B15 computer.
vax True if you are on a VAX-11/750tm or VAX-11/780tm.
u370 True if you are on an IBM(R) System/370tm computer.
The commands that do not apply will return a false (non-zero) value. These commands are often used within makefiles (see make(1S)) and
shell scripts (see sh(1)) to increase portability.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
make(1S), sh(1), test(1), true(1), uname(1), attributes(5)
NOTES
The machid family of commands is obsolete. Use uname -p and uname -m instead.
SunOS 5.11 5 Jul 1990 machid(1)