10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All :)
I want to write a shell script to find the file system usage on multiple UNIX servers.
Commands: df -g fsJCAPS
Below script works fine and it displays results on terminal/console. I want to store /redirect output on to local server from where I'm running the script.
... (3 Replies)
Discussion started by: Mohammad Nawaz
3 Replies
2. UNIX for Dummies Questions & Answers
Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies
3. AIX
I need write a script to trace filesystem size change, such as /home will increase some size and then release some space. I don't know when increase happen. I want to get the size before increase and the size after release. How to write this script? (1 Reply)
Discussion started by: rainbow_bean
1 Replies
4. AIX
Hi All,
Working on AIX 4.2 system. On this server there is no tape drive or a DVD Writer attached to the AIX box.
I was able to do mksysb, but I got warning message saying it will not be bootable.
On the new system, I did install 5.3 and now I need to restore this mksysb image from the... (5 Replies)
Discussion started by: samnyc
5 Replies
5. AIX
I would like to port a small utility from Linux to AIX and, lacking any software development knowledge for AIX, need some help:
I have a library called Snoopy. Basically it intercepts the execv() and execve() system calls and logs them to the syslog-facility AUTHPRIV then passes control over to... (1 Reply)
Discussion started by: bakunin
1 Replies
6. AIX
Hello everyone
I have two questions. I would like to hear your opinions, your tips.
I have several box with aix 5.3. the rootvg in each box has mirror. but I have a cron that makes a mksysb every week.
Do you think that it the best to have a mksysb of rootvg if I have a mirror on this... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
7. AIX
I dont have either a tape drive or a DVD Writer attached to the AIX box. Can you let me know the possibilities of making an mksysb in a bootable media? This is required as we have a requirement to upgrade the OS. (2 Replies)
Discussion started by: chrisanto_2000
2 Replies
8. AIX
Hi friends..
My one problem is not resolved yet I have another.
I am planning to take an OS backup of my p550 using "mksysb". Now i am confussed. suppose I give the command to take the backup into a tape drive and my backup size exceeds the tape capacity.. what will happen? will it ask for... (2 Replies)
Discussion started by: balaji_prk
2 Replies
9. Programming
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)
Discussion started by: hit
4 Replies
10. UNIX for Dummies Questions & Answers
Will UNIX Sytem 5, release 3 run on a Pentium (clock speed 100-200 MHz)?
thanks (5 Replies)
Discussion started by: samklyle
5 Replies
hosts(4) Kernel Interfaces Manual hosts(4)
NAME
hosts - host name data base
DESCRIPTION
The file associates Internet (IP) addresses with official host names and aliases. This allows a user to refer to a host by a symbolic name
instead of an Internet address.
This file contain all addresses for local interfaces that needs at boot time (see ifconfig(1M)). When using the name server (see
named(1M)), or Network Information Service (see ypserv(1M)), this file often serves as a backup when the server is not running. In such
circumstances, it is a common practice for to contain a few addresses of machines on the local network.
should contain a single line for each host with the following information:
internet_address official_host_name aliases
The internet_address can be an IPv4 or IPv6 address specified in the conventional Internet dot notation. See inet(3N) or inet6(3N) for
more information on Internet address manipulation routines.
aliases are other names by which a host is known. They can substitute for the official_host_name in most commands. For example:
In this example, users can use remote login on by using the command:
instead of
If your system is in a domain naming environment, an official host name consists of the full domain extended host name. For example:
(space or tab character). Items are separated by any number or combination of space or tab characters (blanks). A character indicates the
beginning of a comment. Characters from the to the end of the line are not interpreted by routines that search the file. Trailing blanks
are allowed at the end of a line.
For the Internet, this file is normally created from the official host database maintained at the Network Information Control Center (NIC),
although local changes may be required to bring it up to date with respect to unofficial aliases and/or unknown hosts.
Host names can contain any printable character other than a white space, newline, or comment character.
EXAMPLES
See
AUTHOR
was developed by the University of California, Berkeley.
SEE ALSO
gethostent(3N), inet(3N), nsswitch.conf(4).
hosts(4)