09-25-2001
Well... assuming that your "report" is reporting
blocks used, I would say that your "/" and your
"/USR5" file systems seem to have an unusually
high number of inodes as compared to blocks used.
Are you having some specific problem?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do you list all the nodes in unix
:confused: (3 Replies)
Discussion started by: kamisi
3 Replies
2. UNIX for Advanced & Expert Users
Does anyone know something about this? I have no idea what it means and how to do it. but if anyone can give me and explanation and also point me to a website, i'd really appreciate it (5 Replies)
Discussion started by: TRUEST
5 Replies
3. UNIX for Advanced & Expert Users
After rcp -rp from remote host, using du -k to verify the file size but total file size have different size. Check on individual file, file size is correct.
How can I confirm on the file size after ftp?
Pls advise.
Thank you. (15 Replies)
Discussion started by: KhawHL
15 Replies
4. Emergency UNIX and Linux Support
hello Gurus,
My current set up is 3 to 1 Cluster (SUN Cluster 3.2) running oracle database. Task is to reboot the servers. My query is about the procedure to do the same.
My understanding is suspend the databases to avoid switchover. Then execute the command scshutdown to down the cluster... (4 Replies)
Discussion started by: EmbedUX
4 Replies
5. High Performance Computing
I am new to cluster commands. But I have tried utilizing: -pe, but I do not know my parallel computing environment. We are running SGE, is there a simpler command to request more nodes?
also: qsub -N auto -M name@email.com -m abe auto.sh
does not email me at all.
Help would be appreciated (0 Replies)
Discussion started by: theawknewbie
0 Replies
6. UNIX for Dummies Questions & Answers
Hi all. I have two nodes taken different places. They are connected together on a network. So, i have a service, it works on one of nodes and when the node is unavailable the service should will be launched on other node.
Solution: rhel cluster, keepalive, hearbeat...may be Carp
but what if... (2 Replies)
Discussion started by: Flomaster
2 Replies
7. Shell Programming and Scripting
Hi all,
I have a list of node pairs separated with a comma and also, associated with their respective values. For example:
b0015,b1224 1.1
b0015,b2576 1.4
b0015,b3162 2.5
b0528,b1086 1.7
b0528,b1269 5.4
b0528,b3602 2.1
b0948,b2581 3.2
b1224,b0015 1.1... (8 Replies)
Discussion started by: AshwaniSharma09
8 Replies
8. AIX
Hi,
A customer I'm supporting once upon a time broke their 2 cluster node database servers so they could use the 2nd standby node for something else. Now sometime later they want to bring the 2nd node back into the cluster for resilance. Problem is there are now 3 VG's that have been set-up... (1 Reply)
Discussion started by: elcounto
1 Replies
9. UNIX for Advanced & Expert Users
Is there any way to create a arbitrary node for ocfs2 on a virtual machine (others are physical servers) so it won't go panic when one of physical server goes down?
This is for load balanced application servers.
Any setting example or tips?
Thanks. (0 Replies)
Discussion started by: malayo
0 Replies
10. UNIX for Beginners Questions & Answers
Hi folks.
I've been a developer for far too many years, but know very little of unix. I have setup a very inexpensive cluster of 6 raspberry pi nodes so I can play around with multi node programming. This is only for fun, but I want to learn properly, else what's the point?!
Setup can be a... (4 Replies)
Discussion started by: MuntyScrunt
4 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)