07-15-2008
or /dev/td* ...
And as mentionned above if those HBAs are HP then you may have put them in, with the box running (no reboot...) and then of course you would have to run insf -e...
10 More Discussions You Might Find Interesting
1. Programming
#include <stdio.h>
#include <sys/types.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
struct stat s;
main() {
char c;
if (fork()==0) {
system("clear");
do {
printf("myAI\\>§ ");
scanf("%s",c);
if(stat(c,&s)>-1) {... (3 Replies)
Discussion started by: C|[anti-trust]
3 Replies
2. UNIX for Dummies Questions & Answers
telnet at my system is behaving stange. Some times I am able to telnet to other machines but sometimes it stop doing that. Then i have to reboot the machine and most of the time (not 100%) it works. SImilar is the case with SSH. Sometime it works , some time it don't. i am new to Unix and I do not... (1 Reply)
Discussion started by: deepak_pathania
1 Replies
3. HP-UX
Hi,
I do have three scripts. Whcih inserts records into a table using sqlldr, creating some reprot files etc. The first script will call the second and then the second will call the third. When I run my first script from the shell prompt, all my operation are completed successfully. If I do... (23 Replies)
Discussion started by: risshanth
23 Replies
4. Shell Programming and Scripting
Hi all,
I'm trying to generate a series of txt files starting from a plain csv file
part of my code:
#!/bin/ksh
INSTALLDIR=/Users/ME/Installdir
CSV=CSV.csv
TMP=/tmp/$(basename $0).txt
tr -s "\r" "\n" < /$INSTALLDIR/$CSV > $TMP
function Makefiles
{
printf '%24s:%30s\n' "sometext"... (1 Reply)
Discussion started by: Jive Spector
1 Replies
5. Shell Programming and Scripting
I am using mailx command in my script to attach a file and send an email. I need to attach a csv file and send email to a mail id -
I am using
uuencode output.csv output.csv | mailx -s "test mail" xyz@abc.com
This will send a mail with scrambled text in body.
am i missing something ?... (4 Replies)
Discussion started by: Sriranga
4 Replies
6. Red Hat
This is the first time for using sudo for me.
# visudo
## Allows people in group admin to run all commands
%admin ALL=(ALL) ALL
# groupadd admin
# useradd temp
# usermod -a -G admin temp
# id temp
uid=506(temp) gid=506(temp) groups=506(temp),507(admin)
#
#sudo... (5 Replies)
Discussion started by: getrue
5 Replies
7. Shell Programming and Scripting
Hello Everyone,
I'm very new to the shell script. I'm trying to send multiple attachments in unix using uuencode command.
Total I have 3 text files which should be send in mail.
but I'm getting 6 files and 3 files with subject as file name. And the content is
`
end
I'm working... (6 Replies)
Discussion started by: narikivar
6 Replies
8. Linux
Hi,
I am trying to enable rexec to automate certain tasks(it has to be rexec, not ssh or any other due to the system environment), so after switching to linux, I followed the certain instructions that were laid out in the web.
My operating system is fedora 17, so I first installed the... (1 Reply)
Discussion started by: wringer
1 Replies
9. UNIX for Dummies Questions & Answers
Hi There,
---------
file1
-------
~c asd@ac.com
--------------
Now i am using below command
cat file1|mailx -s " testing" -r " My Name" abc@tech.com (3 Replies)
Discussion started by: Tapan Sharma
3 Replies
10. Shell Programming and Scripting
Platform: RHEL 5.4
In the below text file I have strings like following.
$ cat /tmp/mytextfile.txt
DISK1
DISK10
DISK101
DISK102
DISK103
DISK104
DISK105
DISK106
DISK107
DISK108
DISK109
DISK110
DISK111
DISK112
DISK113
DISK114 (8 Replies)
Discussion started by: kraljic
8 Replies
REBOOT(2) System Calls Manual REBOOT(2)
NAME
reboot - close down the system or reboot
SYNTAX
#define _MINIX_SOURCE 1
#include <unistd.h>
int reboot(int how, ...)
DESCRIPTION
Reboot() is used to close down the system. It allows several ways of shutting down depending on how:
reboot(RBT_HALT)
Halt the system and return to the monitor prompt.
reboot(RBT_REBOOT)
Reboot the system by letting the monitor execute the "boot" command.
reboot(RBT_PANIC)
Cause a system panic. This is not normally done from user mode, but by servers using the sys_abort() kernel call.
reboot(RBT_MONITOR, code, length)
Halt the system and let the monitor execute the given code of the given length. (code is of type char * and length of type size_t.)
reboot(RBT_RESET)
Reboot the system with a hardware reset.
Reboot() may only be executed by the super-user.
DIAGNOSTICS
If the call succeeds, it never returns. If something went wrong, the return value is -1 and an error is indicated by errno.
SEE ALSO
shutdown(8), reboot(8), halt(8), sync(1).
NOTES
Minix can not return to the monitor if running in real mode, or if started from MS-DOS. This means that most of the reboot functions will
change to a reset.
AUTHOR
Edvard Tuinder (v892231@si.hhs.NL)
REBOOT(2)