Please, anybody help on resolving the following problem?
I have 2 netwotks ( 10.0.0.0 and 10.0.11.0 ) on 2 different areas
I need both networks to telnet the corresponding ethernet card.
This is a prblem because AIX is configured with a default gateway.
Please advice how to assign 2... (2 Replies)
Hi, I'a a new member here.
My company just bought p570 with 8 LPAR (previously we have p650 with 4 LPAR).
Did anyone have procedure how to setup NIM server (NIM LPAR) and how to install other new LPAR to use the NIM server (as client).
Appreciate your help and thank you very much.
Rgds,
David (0 Replies)
Hi,
I'm very new to AIX, I have to setup a D-Link print server with HP Laserjet 1300 printer on AIX, any body can guide me thru simple steps to acheive this, like how to install print server, driver and then which services i have to restart after adding the print server all this kind of stuff.
... (1 Reply)
Hi All,
I know there is a way to do this in routers. The question is whether it is posisble to do this in AIX.
For our Web Focus ODBC connection to the Disaster Recovery servers, we want to restrict the access to the ODBC ports so that only the IP address of the Web Focus server can get to... (1 Reply)
Hi
Are there any tools out there that can encrypt files on a GPFS file system which are being accessed by multiple AIX 5.3 nodes?
Situation, I need various application servers to read/write files that are on a GPFS share. Therefore the encryption mechanisum need to be transparent to the... (1 Reply)
Hi All,
We are using IBM AIX.
I have to send an automated mail from unix. For which i tried
mail -s "test message" <mail id>
It didn't give me any error message. but i didn't get any mail. On checking mail command, i see the below details.
Final-Recipient: RFC822;... (3 Replies)
Hi,
I have a running GPFS cluster. For one every mountpoint that i have created i have one disk assigned to it. That disk is converted to an NSD and is a part of the GPFS Cluster.
Now i have a new disk and there is this requirement to add it to the GPFS cluster, such that this becomes an NSD.... (1 Reply)
I'm having some trouble getting a POC of GPFS up and running. I've read a couple install guides including a couple IBM pdfs but I'm getting stumped on something I think is fairly fundamental.... I'm trying to do this all on a single 795, right now only the VIOs have HBAs so all LUNs are pointed to... (3 Replies)
I am new to AIX but not new to unix.
I have an interview for an AIX systems admin position and I know they want someone who has knowledge of High Availability, Failover and LPARs
From my research so far, It appear powerha is used to setup high availability and failover on Power systems but is... (2 Replies)
Discussion started by: mathisecure
2 Replies
LEARN ABOUT DEBIAN
sg_get_fs_stats
sg_get_fs_stats(3) Library Functions Manual sg_get_fs_stats(3)NAME
sg_get_fs_stats - get filesystem statistics
SYNOPSIS
#include <statgrab.h>
sg_fs_stats *sg_get_fs_stats(int *entries);
DESCRIPTION
The sg_get_fs_stats takes a pointer to an int, entries, which is filled with the number of mounted file systems the machine has. The return
value is a pointer to the first member of an array of sg_fs_stats structures; the number of entries in the array is returned in entries.
The function returns statistics about mounted filesystems, including free space and inode usage.
RETURN VALUES
sg_get_fs_stats returns a pointer to a structure of type sg_fs_stats.
typedef struct {
char *device_name;
char *fs_type;
char *mnt_point;
long long size;
long long used;
long long avail;
long long total_inodes;
long long used_inodes;
long long free_inodes;
long long avail_inodes;
long long io_size;
long long block_size;
long long total_blocks;
long long free_blocks;
long long used_blocks;
long long avail_blocks;
} sg_fs_stats;
device_name
The name known to the operating system. (eg. on linux it might be hda)
fs_type
The type of the filesystem.
mnt_point
The mount point of the file system.
size The size, in bytes, of the file system.
used The amount of space, in bytes, used on the filesystem.
avail The amount of space, in bytes, available on the filesystem.
total_inodes
The total number of inodes in the filesystem.
used_inodes
The number of used inodes in the filesystem.
free_inodes
The number of free inodes in the filesystem.
avail_inodes
The number of free inodes available to non-privileged processes.
io_size
A suggested optimal block size for IO operations -- if you're reading or writing lots of data, do it in chunks of this size.
block_size
How big blocks actually are on the underlying filesystem (typically for purposes of stats reporting).
total_blocks
The total number of blocks in the filesystem.
free_blocks
The number of free blocks in the filesystem.
used_blocks
The number of used blocks in the filesystem.
avail_blocks
The number of free blocks available to non-privileged processes.
SEE ALSO statgrab(3)WEBSITE
http://www.i-scream.org/libstatgrab/
i-scream $Date: 2005/07/13 13:01:23 $ sg_get_fs_stats(3)