09-12-2012
@dextergenious: again, is this discrepancy still there after a reboot ?
Is your file system clean ? (fsck)
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have to do a lot of reporting for the company that I work for and was wondering if anyone had suggestions for a way to create professional looking reports. I currently use Filepro so much that I rarely see the shell. Any help is appreciated. (3 Replies)
Discussion started by: Mike11
3 Replies
2. UNIX for Dummies Questions & Answers
Hi everyone, I'm completely new to the board and to UNIX and I have the following question regarding a script I am building.
I am trying to copy an entire directory into a new directory and I was wondering if there is any way of printing on screen a progress report, for example a percentage. It... (9 Replies)
Discussion started by: Ypnos
9 Replies
3. SCO
hi,
i m having a sco unix system...i want to store the output of dfspace command ie %free space of each partition to different variable so that i can use it for further processing.......can anybody pls help me out
thx
girish (1 Reply)
Discussion started by: girish_shukla
1 Replies
4. Shell Programming and Scripting
Hi:-
I am working on an audit report that produces a monthly summary of account activity on a particular AIX host. I am struggling with su activity and failed logins as these tend to come back with more then a month's data.
Is there a easy way that these files can be rotated/cleaned out on a... (1 Reply)
Discussion started by: janet
1 Replies
5. UNIX for Dummies Questions & Answers
I am very new to unix/linux and am unsure how to do the following tasks within my script
1) append a log file and add a timestamped echo "Error occured" to it, if posibble to print it to file and on screen at the same time would be even better.
2) As my main script will be calling on a couple... (1 Reply)
Discussion started by: shamwick
1 Replies
6. Filesystems, Disks and Memory
Hi.
How do you guys, monitor/report your Storage environment? I have people (don't we all? ) that like to have monthly reports on space (raw/assigned/available), ports available/used, switches and the such.
Do you use anything special? Or are you like me, a nice big Excel spreadsheet? How... (1 Reply)
Discussion started by: Stephan
1 Replies
7. Shell Programming and Scripting
I need to accomplish the following task -
I have a number of accounts for a number of applications that i deploy on a unix server. There are a number of directories for each account in /prod/apps directory. eg. For an account Application1 I have /prod/apps/Application1_1 /prod/apps/Application1_2... (4 Replies)
Discussion started by: niranjandighe
4 Replies
8. Solaris
Hi,
I am hunting for a low cost Monitoring & Reporting Tool for the SUN Environment.
I have all and all SUN Environment with LDOMs, Zones.
The monitoring Tool
1. Hardware failure.
2. Disk space and failure.
3. LDOMS,Zones.
4. CPU,Memory Utilization.
5. ping,URL Monitors
6. Send... (4 Replies)
Discussion started by: menonk
4 Replies
9. Shell Programming and Scripting
Below is a typical report
each of the lines represent the fields in the report
component1
component2
<pattern>
..
..
n lines ...
..
VIOL = 2
the command should display
component1
component2
VIOL = 2
only if pattern field of the report is "good"
component1 and... (8 Replies)
Discussion started by: dll_fpga
8 Replies
CFDISK(8) GNU fdisk Manual CFDISK(8)
NAME
GNU fdisk, lfdisk, gfdisk - manipulate partition tables on a hard drive
SYNOPSIS
fdisk [options] [device]
DESCRIPTION
fdisk is a disk partition manipulation program, which allows you to create, destroy, resize, move and copy partitions on a hard drive using
a menu-driven interface. It is useful for organising the disk space on a new drive, reorganising an old drive, creating space for new oper-
ating systems, and copying data to new hard disks. For a list of the supported partition types, see the --list-partition-types option
below.
It comes in two variants, gfdisk and lfdisk. Lfdisk aims to resemble Linux fdisk 2.12, while gfdisk supports more advanced disk operations,
like resizing the filesystem, moving and copying partitions. When starting fdisk, the default is to run gfdisk.
OPTIONS
-h, --help
displays a help message.
-v, --version
displays the program's version.
-L, --linux-fdisk
turns on Linux fdisk compatibility mode. This is the same as running lfdisk.
-G, --gnu-fdisk
turns off Linux fdisk compatibility mode.
-i, --interactive
where necessary, prompts for user intervention.
-p, --script
never prompts for user intervention.
-l, --list
lists the partition table on the specified device and exits. If there is no device specified, lists the partition tables on all
detected devices.
-r, --raw-list
displays a hex dump of the partition table of the disk, similar to the way Linux fdisk displays the raw data in the partition table.
-u, --sector-units
use sectors, instead of cylinders for a default unit.
-s, --size=DEVICE
prints the size of the partition on DEVICE is printed on the standard output.
-t, --list-partition-types
displays a list of supported partition types and features.
The following options are available only to lfdisk.
-b, --sector-size=SIZE
Specify the sector size of the disk. Valid values are 512, 1024 and 2048. Should be used only on older kernels, which don't guess
the correct sector size.
-C, --cylinders=CYLINDERS
Specify the number of cylinders of the disk. Currently does nothing, it is left for Linux fdisk compatibility.
-H, --heads=HEADS
Specify the number of heads of the disk. Reasonable values are 255 or 16.
-S, --sectors=SECTORS
Specify the number of sectors per track. A reasonable value is 63.
BUGS
Before editing a BSD disklabel, the partition with the disklabel should already exist on the disk and be detected by the OS. If you have
created a BSD-type partition, you need to write the changes to the disk. If fdisk fails to notify the OS about the changes in partition ta-
ble, you need to restart your computer. As fdisk tries to guess the device holding the BSD disklabel, it might fail to edit it at all, even
if the OS has detected it. In this case you are adviced to simply open the device with fdisk directly. It is possible that it doesn't work
on some operating systems.
Getting the size of a partition with -s might fail, if fdisk fails to guess the disk device, for the same reasons as with the previous bug.
SEE ALSO
mkfs(8), cfdisk(8), parted(8) The fdisk program is fully documented in the info(1) format GNU fdisk User Manual manual.
fdisk 18 August, 2006 CFDISK(8)