setuname(1M) System Administration Commands setuname(1M)NAME
setuname - change machine information
SYNOPSIS
setuname [-t] [-n node] [-s name]
DESCRIPTION
The setuname utility changes the parameter value for the system name and node name. Each parameter can be changed using setuname and the
appropriate option.
Either or both the -s and -n options must be given when invoking setuname.
The system architecture may place requirements on the size of the system and network node name. The command will issue a fatal warning mes-
sage and an error message if the name entered is incompatible with the system requirements.
OPTIONS
The following options are supported:
-n node Changes the node name. node specifies the new network node name and can consist of alphanumeric characters and the special
characters dash, underbar, and dollar sign.
-s name Changes the system name. name specifies new system name and can consist of alphanumeric characters and the special charac-
ters dash, underbar, and dollar sign.
-t Temporary change. No attempt will be made to create a permanent change.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO attributes(5)NOTES
setuname attempts to change the parameter values in two places: the running kernel and, as necessary per implementation, to cross system
reboots. A temporary change changes only the running kernel.
SunOS 5.10 9 Jul 2003 setuname(1M)
Check Out this Related Man Page
setuname(1M)setuname(1M)NAME
setuname - change machine information
SYNOPSIS
name] node]
DESCRIPTION
The command is used to modify the value for system name and/or the node name by using the appropriate option(s).
The command attempts to change the parameter values in both the running kernel and the system configuration to cross reboots. A temporary
change affects only the running kernel.
Options
The command supports the following options:
Changes the system name (for example, HP-UX) in the
field of the structure where name is the new system name and consists of alphanumeric characters and the special
characters dash, underbar, and dollar sign.
Changes the name in the
field of the structure where node specifies the new node name and consists of alphanumeric characters and the special
characters dash, underbar, and dollar sign.
Signifies a temporary change.
The change will not survive a reboot.
Either or both of the or options must be given when invoking
The size of the name and node is limited to characters. is defined in Only users having appropriate privileges can use this command.
EXAMPLES
To permanently change the system name to and the node name to issue the following command:
To temporarily change the system name to and the node name to issue the following command:
WARNINGS
Setting a nodename of more than 8 bytes is possible only with the appropriate configuration options enabled. It is strongly recommended
that all related documentation be completely understood before setting a larger node name. A node name larger than 8 bytes can cause
anomalous or incorrect behavior in applications which use the command or the system function to access the name.
SEE ALSO uname(1), uname(2), nodehostnamesize(5).
setuname(1M)
I'm thinking of buying that new $199 dollar pc from Wal-Mart. I already have a high performance system but I want another system just to play around with and get started using Linux and Unix. How much disk space is needed to run Linux and Unix for developing software? Would this be a good buy?
... (2 Replies)
Hello and thank you everyone that has helped guide me in the past.
I need to change the max_thread_proc parameter in order for certain Oracle utilities to function correctly. It is currently set at 64.
I am a dba not an sa so please excuse my lack of knowledge on something that is probably... (7 Replies)
Hi,
I need to give the file system requirements for our project and i don't know how to proceed. From where do i stand? Our box is SUNos and there are 20 to 30 application that we should support on the box. Can any one get me started in a direction.
Thanks (6 Replies)
IM using UNIX i have an account but i need a new system!
similar to this: $
usually they start with a dollar sign ( ya like that one there ) or a % (modulus)
The freeshell.org ( my current system ) is very compilcated and im having trouble using it ( my problem :P )
does... (1 Reply)
Hi Forum.
I've tried to search online for a solution but I cannot seem to find one.
Hopefully, someone here can help me out. I would appreciate it.
Input file abc.txt:
$InputFile_Borrower=CMTSLST\EDW_COMMERCIAL_MTGE_BORROWER_dat.lst... (14 Replies)
Does anyone has idea about, what is the ibm standard HACMP trip interval?
We have 20 second.
lssrc -ls topsvcs
Subsystem Group PID Status
topsvcs topsvcs 1843200 active
Network Name Indx Defd Mbrs St Adapter ID Group ID
HB Interval =... (7 Replies)
Hi,
Does OS change affect the applications installed in AIX.
I am new to UNIX and would like to know how OS change heppens.
My specific issue:
My machine is currently running with AIX 6 OS with lot of applications running.
Requirement is to upgrade the OS to AIX 7.1, without affecting... (1 Reply)
Hallo Team,
I am trying to get rid of the dollar sign. I managed to remove all the other special characters but i am struggling with this one.
-bash-3.2$ cat -e missing_revenue_20141112.csv|less|head
BW0522168531211141180935668@196.23.110.141$
BW092218784121114-370120610@196.23.110.141$... (4 Replies)
Hello Everyone,
I have the following text file with the each field separated by newline
Text file
P
file1-en-us_US-20170718T150157Z.json
Wed 19 Jul 2017 06:10:13 AM EDT
P
file2-en-us_US-20170718T160150Z.json
Wed 19 Jul 2017 06:10:13 AM EDT
P
file3-en-us_US-20170718T163218Z.json
Wed... (9 Replies)
I'm looking at a config file with dollar signs. What do the dollar signs mean in front of a directory?
dir = ./demoCA # Where everything is kept
certs = $dir/certs # Where the issued certs are kept
crl_dir = $dir/crl # Where the issued crl are kept
new_certs_dir = $dir/newcerts # default... (1 Reply)
Hi Guys,
I need to replace the string based on specific value by keeping dollar sign
input=$1
var=$(echo "@code_temp_table_$value_table"| sed -r "s/\@code/${input}/;s/(nz|sa)_\$value_/\$value1_\1_/" )
Expected
if
input=nz,sa
then
nz_temp_table_$value1_table
else
if any other... (5 Replies)