03-01-2005
For memory:
prtconf | grep -i mem
/usr/platform/sun4u/sbin/prtdiag -v
For HDDs:
I dun think non-root user can use format.
df -k sees only filesystem....
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone know of any commands that offer the same sort of facilities of scandisk on windows. My Linux server (Mandrake 6.2) keeps crashing and gives hard disk errors when I reboot. I've used fcsk to fix any problems that arise but when I use dumpe2fs to display disk information it says that... (1 Reply)
Discussion started by: DGM
1 Replies
2. UNIX Desktop Questions & Answers
I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies
3. UNIX for Dummies Questions & Answers
:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on
"The following file systems are low, and could adversely affect server performance:
File system /: 99%full"
Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies
4. Filesystems, Disks and Memory
I have an application which is running under AIX, HP UNIX, SCO, and LINUX(redhat and SuSE). and its dealing with some bulk amount of file handling, and some of my boxes are not very good in terms of resources like memory and disk space. so i wanted to know the statistics of each of my boxes. Like... (2 Replies)
Discussion started by: renjithram
2 Replies
5. SCO
hi
I've a fresh installation of SCO 5.0.7 on the IDE hard disk.
For SCSI hard disk I can declare, for example blc disk driver using:
# mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies
6. Red Hat
When we write a programme,we declare variables and compiler allocates memory to them.I want to get access to the physical block number of hard-disk where actually the data is stored by the programme "
Some one help me out... (1 Reply)
Discussion started by: nagraz007
1 Replies
7. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
8. AIX
Hi All,
I was trying to know more about RAM disk concept in AIX. I found something on IBM site.
I was able to create and use/delete RAM disk as per IBM instructions.
But as you guys know, this RAM disk is a temporary storage. (*when ever we reboot the AIX LPAR, content/RAM disk will be... (4 Replies)
Discussion started by: System Admin 77
4 Replies
9. HP-UX
Hi there,
hope you can help since I'm a novice and playing with this machine to maybe one day use it with our non-profit art project (plantage9.de).
I have the proper media for itanium and everything seems okay, loads the DVD etc., until it halts without any progress for hours (see also image... (1 Reply)
Discussion started by: plantage
1 Replies
LEARN ABOUT PHP
fs_setcachesize
FS_SETCACHESIZE(1) AFS Command Reference FS_SETCACHESIZE(1)
NAME
fs_setcachesize - Sets the size of the disk cache
SYNOPSIS
fs setcachesize [-blocks <size (0 = reset)>>] [-reset] [-help]
fs setca [-b <size (0 = reset)>>] [-r] [-h]
fs cachesize [-b <size (0 = reset)>>] [-r] [-h]
fs ca [-b <size (0 = reset)>>] [-r] [-h]
DESCRIPTION
The fs setcachesize command changes the number of kilobyte blocks of local disk space available to the Cache Manager for its data cache, on
machines that use a disk cache. The command is not operative on machines that use a memory cache.
To return the cache size to the default value specified in the third field of the local /etc/openafs/cacheinfo file, provide a value of 0
to the -blocks argument.
To return the cache size to the value set when the machine was last rebooted, use the -reset flag instead of the -blocks argument. This is
normally the amount specified in the cacheinfo file, unless the -blocks argument was included on the afsd command to override the cacheinfo
value.
To display the current cache size and amount of cache in use, for both disk and memory caches, use the fs getcacheparms command.
CAUTIONS
This command is not operative on machines using a memory cache, and results in an error message. To change memory cache size, edit the
cacheinfo file and reboot, or reboot and provide the -blocks argument to the afsd command.
On machines using a disk cache, do not set the cache size to exceed 85% to 90% of the actual disk space available for the cache directory.
The cache implementation itself requires a small amount of space on the partition.
OPTIONS
-blocks <size>
Specifies the amount of disk space available for the Cache Manager to devote to the cache. The size should be a positive integer
followed by an optional suffix: "K" for kibibytes (1024 bytes, the default), "M" for mebibytes (1024 kibibytes), "G" for gibibytes
(1024 mebibytes), and "T" for tebibytes (1024 gibibytes). Provide a value of 0 to set cache size to the default specified in the
cacheinfo file.
-reset
Returns the cache size to the value set when the machine was last booted. This agrees with the value in the cacheinfo file unless the
-blocks argument was used on the afsd command.
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command sets the disk cache size to 25000 kilobyte blocks.
% fs setcachesize -blocks 25000
Both of the following commands reset the disk cache size to the value in the cacheinfo file, assuming that the -blocks argument to the afsd
command was not used.
% fs setcachesize -blocks 0
% fs setcachesize -reset
PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser root.
SEE ALSO
cacheinfo(5), afsd(8), fs_getcacheparms(1)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FS_SETCACHESIZE(1)