01-22-2010
the find command, du, and other command line tools can monitor space. I am not sure if filling up your HD with dummy files to take up space only to delete them later on is a good practice. Seems like a lot of work for something that can be accomplished in a better way.
What are your exact concerns?
8 More Discussions You Might Find Interesting
1. Solaris
Hi Guys,
Anybody come across this error when formating a harddisk. "Reserved Failed"
Supected hardisk failure, is my assumption correct.
Thanks (5 Replies)
Discussion started by: bigmoon
5 Replies
2. Linux
How do you debug a perl script non interactively, similar to bash -x? (1 Reply)
Discussion started by: marcpascual
1 Replies
3. Solaris
Hi,
What is the command or how to create a user with the restricted usage of space on a disk.
Also let me know how to change the limit of the space size allotted in future for the same user.
~Vinodh Kumar V M (3 Replies)
Discussion started by: vino_hymi
3 Replies
4. AIX
Hi
I have a ticket to Reserve ports for SAS install in SAS servers.
Does anyone knows the procedure how to do it.
it will be helpful for me please
Thanks in Advance (4 Replies)
Discussion started by: gulamibrahim
4 Replies
5. UNIX for Advanced & Expert Users
my apps use port 40001; however, for example, firstly, I ftp to other server, it made a high port locally, remote is port 21, unfortunately, it hit my port 40001 and my apps is unable to startup. This chance is very very little, but I hit it. Can resevse my port 40001? otherwise command don't use it (5 Replies)
Discussion started by: goodbid
5 Replies
6. Shell Programming and Scripting
Hi All,
Its urgent.. pls help me out.. I want to create a KSH which should generate a report with the list of users and the files larger than 5 GB created by them in a direcorty and send autogenerated e-mail to them.
my input would be users list,directory path and the file size (say 5 GB)
... (11 Replies)
Discussion started by: anman0523
11 Replies
7. Red Hat
Hello Guys,
I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var.
I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies
8. UNIX for Beginners Questions & Answers
Hi All ,
I am having an input file like this
Input file
r s
e y
Pin Numbers s n
eppppppppppppppppppc
... (3 Replies)
Discussion started by: kshitij
3 Replies
mkfile(1M) mkfile(1M)
NAME
mkfile - create a file
SYNOPSIS
mkfile [-nv] size [g | k | b | m] filename...
mkfile creates one or more files that are suitable for use as NFS-mounted swap areas, or as local swap areas. When a root user executes
mkfile(), the sticky bit is set and the file is padded with zeros by default. When non-root users execute mkfile(), they must manually
set the sticky bit using chmod(1). The default size is in bytes, but it can be flagged as gigabytes, kilobytes, blocks, or megabytes, with
the g, k, b, or m suffixes, respectively.
-n Create an empty filename. The size is noted, but disk blocks are not allocated until data is written to them. Files created with
this option cannot be swapped over local UFS mounts.
-v Verbose. Report the names and sizes of created files.
USAGE
See largefile(5) for the description of the behavior of mkfile when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
chmod(1), swap(1M), attributes(5), largefile(5)
2 Feb 2001 mkfile(1M)