uadmin(1M)uadmin(1M)NAME
uadmin - administrative control
SYNOPSIS
/usr/sbin/uadmin cmd fcn [mdep]
/sbin/uadmin cmd fcn [mdep]
The uadmin command provides control for basic administrative functions. This command is tightly coupled to the system administration proce-
dures and is not intended for general use. It may be invoked only by the super-user.
Both the cmd (command) and fcn (function) arguments are converted to integers and passed to the uadmin system call. The optional mdep
(machine dependent) argument is only available for the cmd values of 1 (A_REBOOT), 2 (A_SHUTDOWN), or 5 (A_DUMP). For any other cmd value,
no mdep command-line argument is allowed.
When passing an mdep value that contains whitespaces, the string must be grouped together as a single argument enclosed within quotes, for
example:
uadmin 1 1 "-s kernel/unix"
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
uadmin(2), attributes(5)
On systems, shutting down the system by means of uadmin does not update the boot archive. Avoid using this command after manual editing of
files such as /etc/system or driver.conf(4).
11 Apr 2005 uadmin(1M)
Check Out this Related Man Page
uadmin(1M)uadmin(1M)NAME
uadmin - administrative control
SYNOPSIS
/usr/sbin/uadmin cmd fcn [mdep]
/sbin/uadmin cmd fcn [mdep]
The uadmin command provides control for basic administrative functions. This command is tightly coupled to the system administration proce-
dures and is not intended for general use. It may be invoked only by the super-user.
Both the cmd (command) and fcn (function) arguments are converted to integers and passed to the uadmin system call. The optional mdep
(machine dependent) argument is only available for the cmd values of 1 (A_REBOOT), 2 (A_SHUTDOWN), or 5 (A_DUMP). For any other cmd value,
no mdep command-line argument is allowed.
When passing an mdep value that contains whitespaces, the string must be grouped together as a single argument enclosed within quotes, for
example:
uadmin 1 1 "-s kernel/unix"
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
uadmin(2), attributes(5)
On systems, shutting down the system by means of uadmin does not update the boot archive. Avoid using this command after manual editing of
files such as /etc/system or driver.conf(4).
11 Apr 2005 uadmin(1M)
i want to know the return value of calling system function in the sco unix 5.0.5.what is the meaning of the return value?
............
int ret;
char cmd;
strcpy(cmd,"compress -F -c file >file.Z");
ret = system(cmd);
.............
i want to know how to judge whether the file's compress is... (4 Replies)
I'd like to get only the first 5 lines of the ls -lt command, i tried to pass to head as a file ip but didnt work, is there any other way to do it.
I am trying to find the lates log files for the last 5 days.
what i tried
head -5 < ls -lt alog*
Thanks.
-d (1 Reply)
Hi,
Can anyone help me with the correct syntax to call a MYSQL stored procedure from a shell script.
I have tried the following, (no input params):
/usr/bin/mysql -uadmin -ppassword call TL_CLENSEDATA();
resulting in error:
/home/hosting/data/scripts/dbclense.sh: line 12: syntax error... (3 Replies)
Hi ,
I am trying following .
I need to get a result of an autosys cmd into a unix variable.
The autosys cmd is
autostatus -G jpm_day_today
Please help me in storing the value returned by this cmd into a unix variable.
Appreciate your time to read this post. (1 Reply)
Hi,
Can't you have a pipe in a command string ?
If I try the following I get errors.
Why ?
> cmd="ls -lrt | grep xyz"
> $cmd
|: No such file or directory
grep: No such file or directory
xyx: No such file or directory
Thanks in advance
Hench (3 Replies)
I have an oracle cluster management and noticed that when Oracle evict a node (Sun Solaris 10 server); it does cause a reboot that looks like a power outage (reference to https://www.unix.com/sun-solaris/104605-3320-disk-array-configuration-oracle-10-a-3.html) that is not logged in the messages log.... (2 Replies)
hi guys
i have only basic knowledge of c so guys plz help me .....
i want 2 call c executable which requires file name as argument and i need to modify file contents before calling that executable now my question is how can i call this c executable inside another c program with arguments ??
i... (9 Replies)
Hey guys,
how can i get process id of some particular command in perl?
example:
$cmd = "date; sleep 10; date&";
system($cmd);
How can i get process id of system command? (2 Replies)
Using the vanilla
ps -ef
I noticed that the CMD (or command) line gets cut off after 90 characters
UID PID PPID C STIME TTY TIME CMD
root 6020 3822 0 Jun 19 ? 0:01 ./webservd-wdog -r /export/opt/sows/61sp4 -d /export/opt/sows/61sp4/https-logse
Googling... (4 Replies)
I am new to to unix and I want to make my own basic shell. What is the code I can use to change the unix cmd console display? For example my unix display prompt says MyCompterName~, I want it to say WhatEverMan~ (3 Replies)
Hello,
I'm having a trouble with the find cmd.
I would like to find all the java versions on my systems.
I have solaris 9 & 10 RHEL and SUSIE.
java -version
doesn't give all the versions on the server.
So I am trying to use the find command to find them all
find / -name java
I would... (7 Replies)
Hi,
I am writing a little script to update a parameters on JMQ. however the JMQ requires a "y" confirmation to be input as part of the cmd I am running. However I want run this script to offline with no input from a user.
it works if a I create a file with with just y in it and pass that in... (3 Replies)
Hi All,
I am new here but I have a scripting question that I can't seem to figure out with the "find" cmd.
What I am trying to do is to only have to run a single find cmd parsing the directories and output the different file types to induvidual files and I have been running into problems.... (3 Replies)
Hi all,
This is my first and undoubtedly many posts to come. I'm new to using unix and would like a hand with this problem I have. What i'm trying to do is match 2 sets of data from 2 files and put result into file 3. Sounds simply but there is a catch, the match is a "partial field" match, if... (2 Replies)