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
XRemoveHosts() XRemoveHosts()
Name
XRemoveHosts - remove multiple hosts from the access control list.
Synopsis
XRemoveHosts(display, hosts, num_hosts)
Display *display;
XHostAddress *hosts;
int num_hosts;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
hosts Specifies the list of hosts that are to be removed.
num_hosts Specifies the number of hosts that are to be removed.
Description
XRemoveHosts() removes each specified host from the access control list of the connected server. The server must be on the same host as
the process that call XRemoveHosts(), in order to change the access control list.
If you remove your machine from the access control list, you can no longer connect to that server, and there is no way back from this call
except to log out, edit the access control file, and reset the server.
The address data must be a valid address for the type of network in which the server operates, as specified in the family member.
For TCP/IP, the address should be in network byte order. For the DECnet family, the server performs no automatic swapping on the address
bytes. A Phase IV address is two bytes long. The first byte contains the least significant eight bits of the node number. The second
byte contains the most significant two bits of the node number in the least significant two bits of the byte, and the area in the most sig-
nificant six bits of the byte.
For more information on access control lists, see Volume One, Chapter 15, Other Programming Techniques.
Structures
typedef struct {
int family; /* for example Family Internet */
int length; /* length of address, in bytes */
char *address; /* pointer to where to find the bytes */
} XHostAddress;
/* constants used for family member of XHostAddress */
#define FamilyInternet 0
#define FamilyDECnet 1
#define FamilyChaos 2
Errors
BadAccess
BadValue
See Also
XAddHost(), XAddHosts(), XDisableAccessControl(), XEnableAccessControl(), XListHosts(), XRemoveHost(), XSetAccessControl().
Xlib - Host Access XRemoveHosts()