02-07-2008
Ok , many thanks for the information.
D
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am installing redhat linux 6.2 on an intel based system. Whether i want to know any naming conventions should i follow.
ie Any convention to follow to name a linux machine(To give hostname). Simillarly for domain name also. Please suggest in this regard (1 Reply)
Discussion started by: bache_gowda
1 Replies
2. IP Networking
Using Solaris 8 (or WINXP).
I am trying to look up a specific DNS hostname, but I don't know which DNS server houses that entry. How can I find the hostname?
nslookup gives me the following:
C:\>nslookup hostname
Server: dnsserver
Address: x.x.x.x
*** dnsserver can't find hostname:... (2 Replies)
Discussion started by: dangral
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies
4. UNIX for Advanced & Expert Users
Is there a way to find out what name a client is using to connect to a server? For example: client is telnet'ing or ftp'ing to Server B.domain.com, using name C.domain.com. (B and C resolve to the same IP). Can we, on the server B find out that the client used C.domain.com to connect? I have tried... (1 Reply)
Discussion started by: mugambo
1 Replies
5. UNIX for Dummies Questions & Answers
How to change host name in NCR Unix version 3.0 release 4.0
I got the OS version and OS release from executing uname -v and uname -r (9 Replies)
Discussion started by: nalina
9 Replies
6. Solaris
all of a sudden i am not able to get hostname of sparc server. all the settings are proper in hostname file.can anyone help me on this (1 Reply)
Discussion started by: grrajeish
1 Replies
7. Emergency UNIX and Linux Support
Hi All,
So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says:
It should say:
What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies
8. Shell Programming and Scripting
I know the ipaddress of a remote machine and would like to know its hostname
I used the nslookup command but... is there an easier way of doing it... just like hostname command.
When i give this command i get the following
nslookup 10.2.47.36
Server: 10.233.04.31
Address: ... (2 Replies)
Discussion started by: ramky79
2 Replies
9. UNIX for Advanced & Expert Users
deleted (0 Replies)
Discussion started by: hce
0 Replies
10. AIX
Hello All,
I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance.
Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies
LEARN ABOUT HPUX
getrusage
getrusage(2) System Calls Manual getrusage(2)
NAME
getrusage - get information about resource utilization
SYNOPSIS
DESCRIPTION
The function provides measures of the resources used by the current process or its terminated and waited-for child processes. If the
value of the who argument is information is returned about resources used by the current process. If the value of the who argument is
information is returned about resources used by the terminated and waited-for children of the current process. If the child is never waited
for (for instance, if the parent has set or sets to the resource information for the child process is discarded and not included in the
resource information provided by The r_usage argument is a pointer to an object of type in which the returned information is stored.
If the current process is multi-threaded, returns the information about the resources used by all the active and the reaped threads/light-
weight processes in the current process if the value of the who argument is If the value of the who argument is in a multi-threaded
process, information returned is the same as it would be for a single-threaded process.
RETURN VALUE
Upon successful completion, returns Otherwise, is returned, and is set to indicate the error.
ERRORS
The function will fail if:
[EINVAL] The value of the who argument is not valid.
SEE ALSO
exit(2), sigaction(2), time(1), times(2), wait(1), <sys/resource.h>.
getrusage(2)