Hello, we have a datafile of initial size 500MB on a 8i DMT. Auto increment of 500MB. Max size is 2GB. Can we increase initial size to 1GB? How complicated is the procedure?
The date command displays or sets the current HP-UX system clock date and time. Since the HP-UX system operates in Coordinated Universal Time (UTC), date automatically converts to and from local standard or daylight/summer time, based on your TZ environment variable.
TZ determines the...
O.S is HP-UX 11i. I don't exactly know what shell I am using. When I say which shell, it returns /usr/bin/sh. And as export name=value is valid in my scripts I assume it is korn.
Sorry if I got it wrong. I used this function and it gives me the same date.
Script:
#!/usr/bin/sh
# GetDate nDays [format]
GetDate ()
{
set -x
typeset -i nDays=$1; format=$2
typeset -i localOffset=$(echo $TZ |
sed 's![^-0-9]*\([-0-9]*\).*!\1!')
TZ=X$((localOffset-24*nDays)) date...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.