02-16-2019
Thanks nezabudka!
I plugged in your first suggestion and it seems to work just fine! I think I will use that code for now, though I will study your's and other commenters' more compact, elegant solutions later when I have more time: I'm such a neophyte I actually find that the least elegant, most sprawling code is often the easiest for me to understand. Its like learning how clocks work from disassembling one: you want to start with a cheap, simple bedside alarm clock, not a finely crafted rolex!
Again, thank you so much for your help!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I do it? I have a mac and a pc and am having a time cd-ing to the external drive. (2 Replies)
Discussion started by: theGooch
2 Replies
2. Solaris
Hello !
What is the comand to mount and usb hard disk ?
I have Solaris 10 installed!
10nx! (1 Reply)
Discussion started by: daniel.balasa
1 Replies
3. UNIX for Dummies Questions & Answers
Someone gave me a small external SCSI hard drive for my SunOS 5.8 test system. How do I make Unix see the hard drive? (2 Replies)
Discussion started by: FredSmith
2 Replies
4. Ubuntu
i have a Simple Tech hard drive that i use between two computers. it is formatted to ntfs. i have a dell desktop with Ubuntu 7.10 and Ubuntu 8.04 and Windows XP Home. and i have a laptop with Ubuntu 7.10 and Ubuntu 8.04. the laptop recognizes the hard drive on both 8.04 and 7.10 but my desktop... (9 Replies)
Discussion started by: Texasone
9 Replies
5. HP-UX
Can anyone please walk me through how to mount an external parallel (or scsi) hard drive in visualize C3000 machine? I also would like to mount "/var/sallie" directory in that external drive. My "/var/sallie" directory is running out of space so I would like to mount an external hard drive so that... (0 Replies)
Discussion started by: sallysallie
0 Replies
6. Solaris
Guys,
I have googled and checked this forum in detail and couldn't find any satisfactory answers for my problem.
I am trying to connect a external SCSI hard Drive(Sea Gate) to a Ultra 80.
I connected it powered it up and at OK prompt did : boot -r
system comes up and complains about not... (6 Replies)
Discussion started by: ajnabi
6 Replies
7. Solaris
Hi Folks,
First a little background, I am working on a ship that operates in the Indian Ocean and Persian/Arabian gulf area. We had a Sunblade 2000 that finally died. The Video board burned up and I guess damaged the mother board. So we ordered 2 rebuilt 2000s one as a spare. Due to mounting... (1 Reply)
Discussion started by: Sean.kelly
1 Replies
8. Ubuntu
Hi Guys..
I want to install Linux on my portable hard drive.
I created a 20GB partition in my hard drive for linux, Now I want to make it bootable mean when I connect it to system n start the system it will start the LINUX and when start without usb-hard drive it should start the windows.
... (3 Replies)
Discussion started by: atul9806
3 Replies
9. Shell Programming and Scripting
My code is this, what I'm trying to accomplish is to make a list of all pdf documents in my computer and then copy all of those documents to my external hard drive in a directory
mkdir /Volumes/Hardrive-1/allpdf
echo "File Locations" > /Volumes/Hardrive-1/allpdf/FileLocations.txt
mdfind pdf... (2 Replies)
Discussion started by: darpness
2 Replies
10. UNIX for Advanced & Expert Users
I have connected an external hard drive. I can't find it.
Both ls /media, fdisk -l and ls /dev show nothing.
TIA (3 Replies)
Discussion started by: Meow613
3 Replies
LEARN ABOUT HPUX
clock_getres
clocks(2) System Calls Manual clocks(2)
NAME
clock_settime(), clock_gettime(), clock_getres() - clock operations
SYNOPSIS
DESCRIPTION
clock_settime()
The function sets the specified clock, to the value specified by Time values that are between two consecutive non-negative integer multi-
ples of the resolution of the specified clock are truncated down to the smaller multiple of the resolution.
clock_gettime()
The function returns the current value for the specified clock,
clock_getres()
The resolution of any clock can be obtained by calling Clock resolutions are implementation defined and are not settable by a process. If
the argument is not NULL, the resolution of the specified clock is stored into the location pointed to by If is NULL, the clock resolution
is not returned.
A clock may be system wide, that is, visible to all processes; or per-process, measuring time that is meaningful only within a process.
The following clocks are supported:
This clock represents the realtime clock for the system.
For this clock, the values returned by and specified by represent the amount of time (in seconds and nanoseconds) since
the Epoch. It is a system wide clock. The privilege is required to set this clock. Processes owned by the superuser
have this privilege. Processes owned by other users may have this privilege, depending on system configuration. See
privileges(5) for more information about privileged access on systems that support fine-grained privileges.
This clock represents the amount of time (in seconds and nanoseconds)
that the calling process has spent executing code in the user's context. It is a per-process clock. It cannot be set
by the user.
This clock represents the amount of time (in seconds and nanoseconds)
that the calling process has spent executing code in both the user's context and in the operating system on behalf of
the calling process. It is a per-process clock. It cannot be set by the user.
These clocks are high resolution hardware clocks
present on HP-RT realtime systems. It is included here so that applications accessing this hardware can be compiled on
HP-UX systems and then ported to an HP-RT target. HP-UX does not support or
RETURN VALUE
A return of zero indicates that the call succeeded. A return value of -1 indicates that an error occurred, and is set to indicate the
error.
ERRORS
If any of the following conditions occur, the and functions return -1 and set (see errno(2)) to the corresponding value:
The functions
and are not supported by this implementation.
The argument does not specify a known clock.
The argument to is outside the range for the given
The argument specified a nanosecond value less than zero or greater than or equal to 1000 million.
The requesting process does not have the necessary privileges to set the
specified clock.
The or argument points to an invalid address.
EXAMPLES
Advance the system wide realtime clock approximately one hour:
Get the resolution of the user profiling clock:
AUTHOR
and were derived from the proposed IEEE POSIX P1003.4 Standard, Draft 14.
SEE ALSO
timers(2), privileges(5).
STANDARDS CONFORMANCE
clocks(2)