Part of my script
resize on my .profile will actually prevent the exit command to exit telnet:
esize: unknown character, exiting.
It will not close the connection
If I remove resize it works OK.
Any way to overcome this without removing resize ?
I have recently changed software systems for my small business. I was running SCO OpenServer v 5.0 and have now gone to a windows based system using Windows Server 2003. No problems with the changover as the server hardware was changed also. The problem I am having is that I would like to... (2 Replies)
Hello everyone
I need to resize a filesystem /home I want to add 200mb and I have space on the disk with lsvg rootvg command I check this but I cant because has a mirror.
Do you know some way that I can do this.
Thanks in advance (1 Reply)
Dear All
We have HP9000 rp7400 Server running with hp-ux 11i.
Our Disk storage has two volume groups and are allocated as follows:
1. /#vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available... (1 Reply)
hello every body. in a little bit of a jam here.if you all happen to know how to resize the tmp file in my linux system. I use a sabayon 3.5 on a x86 machine. itried to make a dvd image copy but the system gives me a error message telling me the temporary folder used to make images is too small.... (3 Replies)
i am running redhat on VMware
i increased a disk size from san for existing disk /dev/sdb
how do i resize the disk
# pvdisplay
--- Physical volume ---
PV Name /dev/sdb1
VG Name localvg
PV Size 15.00 GB / not usable 2.99 MB
... (0 Replies)
Dear All,
We have HP Unix 11.31.
We have two VG, VG01 and VG02.
In VG01 there are three mount point each of 100gb size. There is no data on below mount point
/soft/01
/soft/02
/soft/03Is it possible to resize each of these mount point to 50 GB. So 150 GB will free and release from... (2 Replies)
Is there a script or extension that I can look into that will re-size an allotment of images to a given size?? Id like to take images of a certain size and resize them but Im dont remember an install option that can do it if installed in ubuntu but I, also unsure in what code I will have to learn.... (2 Replies)
Good afternoon!
Help with a solution
I have AIX 7.1
works through vios
I expanded Lun
that it is necessary to make that aix saw this change and to expand the section lvm
Sorry for my English (1 Reply)
It is not allowing me to create a new partition...... I know that there are no free sectors available.... I want to RESIZE the partitions which are already created.
Please tell me how to resize the partitions.....Don't tell me that we can resize through parted command....
please tell me all... (2 Replies)
Hi,
I have rpool about 500G. So i want to use 210G from rpool and assign mount point as /database.
I seek in google and couldn't found it. Does anyone know how to achieve it?
Thanks. (2 Replies)
Discussion started by: mzainal
2 Replies
LEARN ABOUT DEBIAN
sleepenh
SLEEPENH(1) General Commands Manual SLEEPENH(1)NAME
sleepenh - an enhanced sleep program.
SYNOPSIS
sleepenh [initial-time] sleep-time
DESCRIPTION
sleepenh is a program that can be used when there is a need to execute some functions periodically in a shell script. It was not designed
to be accurate for a single sleep, but to be accurate in a sequence of consecutive sleeps.
After a successful execution, it returns to stdout the timestamp it finished running, that can be used as initial-time to a successive exe-
cution of sleepenh.
OPTIONS
There are no command line options. Run it without any option to get a brief help and version.
ARGUMENTS
sleep-time is a real number in seconds, with microseconds resolution (1 minute, 20 seconds and 123456 microseconds would be 80.123456).
initial-time is a real number in seconds, with microseconds resolution. This number is system dependent. In GNU/Linux systems, it is the
number of seconds since midnight 1970-01-01 GMT. Do not try to get a good value of initial-time. Use the value supplied by a previous exe-
cution of sleepenh.
If you don't specify initial-time, it is assumed the current-time.
EXIT STATUS
An exit status greater or equal to 10 means failure. Known exit status:
0 Success.
1 Success. There was no need to sleep. (means that initial-time + sleep-time was greater than current-time).
10 Failure. Missing command line arguments.
11 Failure. Did not receive SIGALRM.
12 Failure. Argument is not a number.
13 Failure. System error, could not get current time.
USAGE EXAMPLE
Suppose you need to send the char 'A' to the serial port ttyS0 every 4 seconds. This will do that:
#!/bin/sh
TIMESTAMP=`sleepenh 0`
while true; do
# send the byte to ttyS0
echo -n "A" > /dev/ttyS0;
# just print a nice message on screen
echo -n "I sent 'A' to ttyS0, time now is ";
sleepenh 0;
# wait the required time
TIMESTAMP=`sleepenh $TIMESTAMP 4.0`;
done
HINT
This program can be used to get the current time. Just execute:
sleepenh 0
BUGS
It is not accurate for a single sleep. Short sleep-times will also not be accurate.
SEE ALSO date(1), sleep(1).
AUTHOR
This manual page was written by Pedro Zorzenon Neto.
2008/04/20 SLEEPENH(1)