12-03-2007
If you want somebody to be able to help you, you need to provide more information such as what operating system and version you are running.
8 More Discussions You Might Find Interesting
1. IP Networking
Solaris v5.6
how do you stop and start the network services? (4 Replies)
Discussion started by: Westy564
4 Replies
2. UNIX for Dummies Questions & Answers
hi can i know what is the command and in which directory to
temporarily stop the cron service of my server?
here is my server information
thanks
SunOS statsfs07 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-4 (1 Reply)
Discussion started by: legato
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Very new to Unix environment. Hopefully, this will be a quicky answer....I can't seem to find the answer anywhere, and everyone here is stumped.
We have a Unix 6 machine that runs our corporate software. We have users using Windows 2000 that telnet (J River) into the Unix system.... (1 Reply)
Discussion started by: kjm
1 Replies
4. HP-UX
Hi everybody
When I Boot/restart my HP-UX server when it reaches the step described below doesn't go through. When I kick a key in the console it show me the login prompt and a can log on but I cannot access the server from the network, I can only do it via LAN console.
Please, can you help... (3 Replies)
Discussion started by: cgege
3 Replies
5. Shell Programming and Scripting
Dear All,
Pls find my scripts for Agent services strat & stop.
EAMSROOT=/opt/panaces
export EAMSROOT
cd $EAMSROOT
nohup ./OracleAgent.sh start &
nohup ./PFRAgent.sh start &
nohup ./PFR.sh start &
nohup ./SolarisOSAgent.sh start &
exit 0
EAMSROOT=/opt/panaces
export EAMSROOT
cd... (0 Replies)
Discussion started by: starnaresh
0 Replies
6. Red Hat
I am not too familiar with linux, so please keep that in mind while reading this post. We have a few linux servers joined to the domain, and linux services for windows running. I have a user that can connect to one linux server, but not another.
I ran the cat /etc/passwrd and noticed the user... (0 Replies)
Discussion started by: dcatcha
0 Replies
7. Shell Programming and Scripting
Hello All
I am getting an issue which I want to share will all you guys
There is one windiows sercice running on my machine names Network Provisioning Service.
I developed the perl script which do
$service='Network Provisioning Service';
system('net stop $service');
When I manually... (1 Reply)
Discussion started by: adisky123
1 Replies
8. Linux
Hi All,
My application uses three different sub-services to make complete application up and running to normal.
The entry of all the three services are present in /etc/init.d directory with proper softlink created to application home path where it actually exists.
In one rare case one of the... (3 Replies)
Discussion started by: hk_kamozalwar
3 Replies
uname(2) System Calls uname(2)
NAME
uname - get name of current operating system
SYNOPSIS
#include <sys/utsname.h>
int uname(struct utsname *name);
DESCRIPTION
The uname() function stores information identifying the current operating system in the structure pointed to by name.
The uname() function uses the utsname structure, defined in <sys/utsname.h>, whose members include:
char sysname[SYS_NMLN];
char nodename[SYS_NMLN];
char release[SYS_NMLN];
char version[SYS_NMLN];
char machine[SYS_NMLN];
The uname() function returns a null-terminated character string naming the current operating system in the character array sysname. Simi-
larly, the nodename member contains the name by which the system is known on a communications network. The release and version members
further identify the operating system. The machine member contains a standard name that identifies the hardware on which the operating sys-
tem is running.
RETURN VALUES
Upon successful completion, a non-negative value is returned. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
The uname() function will fail if:
EFAULT The name argument points to an illegal address.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Async-Signal-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
uname(1), sysinfo(2), sysconf(3C), attributes(5), standards(5)
SunOS 5.10 21 Jul 1999 uname(2)