Hi Folks...
I am using a ksh script to submit the at command to run a shell script for immediate execution. The shell script requries 1 parameter.
Command in the script is
at -m -f $EXE_DIR/process_server.sh $START_TIME $DB_NAME
where START_TIME=now and DB_NAME= tnsname of Oracle... (1 Reply)
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (1 Reply)
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (3 Replies)
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (1 Reply)
hi I am new to shell programming.....my question is while running one of my shell program it stops in between to accept input from the user and proceeds furthur after giving input....I want to know whether I can set this input through some files so that the shell acript reads the input from the... (10 Replies)
Hi,
I am trying to capture runtime stats of a shell script (c shell). Are there system variables to call? Or should I create a date variable at the start of the script and at the end of the script? I am trying to capture the time if the script stops or ends with error.
Please help.
... (4 Replies)
so I've made a shell script that downloads 6 files in succession from a given url, then deletes them. Now I want to time the script, and the average time it uses by running it ~100 times. My problem is tho, how do I store the time it takes for each run through of the script? I know time writes to... (3 Replies)
Hi All,
I have a script which intends to create as many variables at runtime, as the number of parameters passed to it. The script needs to save these parameter values in the variables created and print them
abc.sh
----------
export Numbr_Parms=$#
export a=1
while
do
export... (3 Replies)
Discussion started by: dev.devil.1983
3 Replies
LEARN ABOUT DEBIAN
lsblk
LSBLK(8) System Administration LSBLK(8)NAME
lsblk - list block devices
SYNOPSIS
lsblk [options]
lsblk [options] device...
DESCRIPTION
lsblk lists information about all or the specified block devices. The lsblk command reads the sysfs filesystem to gather information.
The command prints all block devices (except RAM disks) in a tree-like format by default. Use lsblk --help to get a list of all available
columns.
OPTIONS -a, --all
List all block devices.
-b, --bytes
Print the SIZE column in bytes rather than in human-readable format.
-d, --nodeps
Don't print device holders or slaves. For example "lsblk --nodeps /dev/sda" prints information about the sda device only.
-D, --discard
Print information about the discard (TRIM, UNMAP) capabilities for each device.
-e, --exclude list
Exclude the devices specified by a comma-separated list of major device numbers. Note that RAM disks (major=1) are excluded by
default.
-f, --fs
Output info about filesystems. This option is equivalent to "-o NAME,FSTYPE,LABEL,MOUNTPOINT". The authoritative information about
filesystems and raids is provided by the blkid(8) command.
-h, --help
Print a help text and exit.
-i, --ascii
Use ASCII characters for tree formatting.
-m, --perms
Output info about device owner, group and mode. This option is equivalent to "-o NAME,SIZE,OWNER,GROUP,MODE".
-l, --list
Use the list output format.
-n, --noheadings
Do not print a header line.
-o, --output list
Specify which output columns to print. Use --help to get a list of all supported columns.
-P, --pairs
Use key="value" output format.
-r, --raw
Use the raw output format.
-t, --topology
Output info about block device topology. This option is equivalent to "-o NAME,ALIGNMENT,MIN-IO,OPT-IO,PHY-SEC,LOG-SEC,ROTA,SCHED".
NOTES
For the partitions are some information (e.g. queue attributes) inherited from parental device.
AUTHORS
Milan Broz <mbroz@redhat.com>
Karel Zak <kzak@redhat.com>
SEE ALSO findmnt(8), blkid(8), ls(1)AVAILABILITY
The lsblk command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux April 2010 LSBLK(8)