07-06-2011
10 More Discussions You Might Find Interesting
1. Programming
I everybody!!
How can i use statvfs() to calculate disk usage and free disk space??
Im using this code:
/* Any file on the filesystem in question */
char *filename = "/home/nesto/test/test.cpp";
struct statvfs buf;
if (!statvfs(filename, &buf)) {
... (1 Reply)
Discussion started by: ninjanesto
1 Replies
2. Solaris
In linux df is the command to find free space what is the equivalent command in the Solaris (2 Replies)
Discussion started by: harishankar
2 Replies
3. AIX
Hello,
I would like to free some space to install gcc with is about 50M large, and I have no free space on my system. What can I delete?
Filesystem 1024-blocks Used Free %Used Iused Ifree %Iused Mounted on
/dev/hd4 262144 145436 116708 56% 7981 ... (10 Replies)
Discussion started by: aixn00b
10 Replies
4. UNIX for Dummies Questions & Answers
I'm just learning shell scripting and am new to Unix/Linux. For the past week I've been logging how much free mem is on my server by using the
'$ top' command, and the free disk space in a few directories by doing
'$ df -h'.
It sucks doing that every hour. Can you help me write a script... (2 Replies)
Discussion started by: enator45
2 Replies
5. Solaris
is there a command to get the total disk space (available + free) on the solaris server ?
thanks (3 Replies)
Discussion started by: sudhiroracle
3 Replies
6. Solaris
I'm getting ready to start a LU from Sol 9 to Solaris 10. I want to ensure that I have enough disk space for future upgrades. What I don't know is what free space Solaris requires.
If I have 10GB of free space in /opt, will Solaris 10 use that for a LU?
Or, do I need to allocate 10GB of space... (5 Replies)
Discussion started by: zeekstern
5 Replies
7. Solaris
Version: Solaris 10 (August 2011) on VM
I am kind of new to Solaris.From VM workstation i allocated 35 GB to this Solaris VM's Disk
The disk was named
c1t0d0
Few basic slices for root(8gb), swap(517mb) and /export/home(494mb) were created by the solaris Installer during the... (18 Replies)
Discussion started by: polavan
18 Replies
8. Red Hat
Hi,
I installed RHEL 6.0 OS on vmware with CREATE CUSTOM LAYOUT option. And I gave the space to different mount points as mentioned below:
/ 15360MB
/boot 200MB
/tmp 3072 MB
swap 1024 MB
fdisk -cul command shows the disk size as 64.4 GB. But when I try to create partion of 10 GB with... (1 Reply)
Discussion started by: GAURAV SRIVASTA
1 Replies
9. Shell Programming and Scripting
i want to write a shell script,when disk uses is 90% then automatically send a email to distribution list (group member)...... (1 Reply)
Discussion started by: sonu pandey
1 Replies
10. Solaris
Hi,
I need about 500G space in one corporate solaris server.
However, I am not sure which command to use to check this.
There are few volume groups in the server, and I deleted unused, old volume groups to clear some space.
However, now I am not sure how to check the free space itself.
... (2 Replies)
Discussion started by: anaigini45
2 Replies
KFS(4) Kernel Interfaces Manual KFS(4)
NAME
kfs - disk file system
SYNOPSIS
disk/kfs [ -rc ] [ -b n ] [ -f file ] [ -n name ] [ -s ]
DESCRIPTION
Kfs is a local user-level file server for a Plan 9 terminal with a disk. It maintains a hierarchical Plan 9 file system on the disk and
offers 9P (see intro(5)) access to it. Kfs begins by checking the file system for consistency, rebuilding the free list, and placing a
file descriptor in /srv/name, where name is the service name (default kfs). If the file system is inconsistent, the user is asked for per-
mission to ream (q.v.) the disk. The file system is not checked if it is reamed.
The options are
b n If the file system is reamed, use n byte blocks. Larger blocks make the file system faster and less space efficient. 1024 and 4096
are good choices. N must be a multiple of 512.
c Do not check the file system.
f file Use file as the disk. The default is /dev/sd0fs.
n name Use kfs.name as the name of the service.
r Ream the file system, erasing all of the old data and adding all blocks to the free list.
s Post file descriptor zero in /srv/service and read and write protocol messages on file descriptor one.
EXAMPLES
Create a file system with service name kfs.local and mount it on /n/kfs.
% kfs -rb4096 -nlocal
% mount -c /srv/kfs.local /n/kfs
FILES
/dev/sd0fs
Default file holding blocks.
SOURCE
/sys/src/cmd/disk/kfs
SEE ALSO
kfscmd(8), mkfs(8), prep(8), wren(3)
KFS(4)