9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear All,
Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way.
I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies
2. Shell Programming and Scripting
Hi there. I am fairly new to scripting in BASH so please forgive my clumsy syntax and analogy as I try to explain what I am trying to accomplish.
I have a list of mundane functions that I currently call from a script file. What I wish to do is to accurately record into a log file the times that... (17 Replies)
Discussion started by: Tenuous
17 Replies
3. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
4. Programming
in its man-page pthread_mutex_timedlock documents that the absolute timeout parameter should be based on the CLOCK_REALTIME clock or in the system clock. All this depending on whether the 'Timers option' is supported or not.
What do they mean by 'Timers option'? How could I tell for sure what... (8 Replies)
Discussion started by: ramestica
8 Replies
5. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
6. Programming
Hi ,
I am trying to learn timers in linux kernel. I am trying to write a program where I can configure a timer to tick in every 5 seconds and a function should thus exicute in every five seconds. I tried one program with the help of linux/timer.h headerfile but I couldnt get the... (4 Replies)
Discussion started by: iamjayanth
4 Replies
7. Shell Programming and Scripting
Hi,
My local server is :/usr/abcd/
Remote server is :/Usr/host/test/
I want to send files from local unix directory(All files starting with O_999) to
remote host unix directory.
Can any body give me the Unix Shell script to do this.
One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies
8. UNIX for Advanced & Expert Users
hi
i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies
9. UNIX for Dummies Questions & Answers
Okee problems...!!
What is happening: Unix server with some programms, workstations are windows 2000, the workstations work good but when you start a programm on the Unix server the CPU of the workstations go to 100% usage resulting that the system gets very slow. The programm well its running so... (2 Replies)
Discussion started by: zerocool
2 Replies
reltimer(3) Library Functions Manual reltimer(3)
NAME
reltimer - Establishes timeout intervals of a per-process timer
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <sys/timers.h>
int reltimer( timer_t tmrid, struct itimerspec *val, struct itimerspec *oval) ;
PARAMETERS
Specifies the per-process timer to access. Points to a type itimerspec structure containing the values of the initial and offset timeout
intervals. Points to a type itimerspec structure where the current value of the timer timeout interval and the time-to-go are to be
stored.
DESCRIPTION
The reltimer() function establishes initial and offset timeout intervals of a per-process timer specified by the tmrid parameter. Initial
and offset timeout interval information is stored in an itimerspec structure pointed to by the val parameter. When the per-process timer
specified by the tmrid parameter is active, after timeout of the initial time interval, all subsequent timeouts are controlled by the off-
set timeout value; as long as tmrid continues to operate, the offset values pointed to by the val parameter are used as the per-process
timeout interval. The current timeout interval and the time-to-go are returned to the location pointed to by the oval parameter.
Initial and offset time information for the per-process timer is stored in space reserved by a type itimerspec structure pointed to by the
val parameter. A type itimerspec structure is also used to store returned time information specified by the oval parameter. The itimerspec
structure is defined in the sys/timers.h include file.
NOTES
Time values smaller than the resolution of the specified timer are rounded up to the resolution value. Time values larger than the maximum
timeout value of the specified per-process timer are rounded down to that maximum value. Trial use
RETURN VALUES
Upon successful completion, the reltimer() function returns 0 (zero). Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
If the reltimer() function fails, errno may be set to the following value: The timerid parameter does not specify an allocated per-process
timer, or the val parameter points to a nanosecond value less than zero or greater than or equal to 1000 million.
RELATED INFORMATION
Functions: alarm(3), getclock(3), gettimer(3), mktimer(3) delim off
reltimer(3)