Sponsored Content
Full Discussion: Sript need, please respond
Top Forums UNIX for Advanced & Expert Users Sript need, please respond Post 302172995 by vpandey on Wednesday 5th of March 2008 09:52:42 AM
Old 03-05-2008
apologies for this, will take care in future
Actually i there are other processes related to the thid file which will affect if i created more than one file.
Thanks in advance
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Volcheck does not respond

what should i do if there's no response by executing volcheck. Rgrds, --NIkk (2 Replies)
Discussion started by: nikk
2 Replies

2. Shell Programming and Scripting

Please respond immediately

Hi ..please tell me how to modinfy an existing file in a directory, i need commands like to open edit and save n execute the file in BASH. please respond immediately (3 Replies)
Discussion started by: deepti.1104
3 Replies

3. UNIX for Dummies Questions & Answers

PGP Auto Respond

This is relating PGP: I wrote a shell script to encrypt a file: pgpe -r <key> (file) Im looking to automate this but when I run my script it keeps running because it prompts: WARNING: The above key is not trusted to belong to: Do you want to use the key with this name? It's... (1 Reply)
Discussion started by: queenie680
1 Replies

4. Shell Programming and Scripting

Shell Sript - Spell Checker Assign

Hi Folks. I am currently working on a script that has to spell check a file and print the output to the screen in 2 columns like this. INCORRECT CORRECTION whio who weahter weather The file will allow the user to override the ispell command and save any... (9 Replies)
Discussion started by: ccfc1986
9 Replies

5. Solaris

server not respond

Hi all, i am phasing one problem yesterday.when i was login into sun server with my user id, i am trying to execute unix commands but the server responce is very slow. the command result will give after 5-10 min. i checked /var,/tmp and /export/home file system also.every thing is normal... (4 Replies)
Discussion started by: krishna176
4 Replies

6. UNIX for Dummies Questions & Answers

Shell Sript

Hi All, I have four different files in four different directories. Each file contains exactly the same format logincode Forename Surname TutGroup Mark Basically i want to grab all the marks from each file and put them onto the end of one login code by using a shell script. I can grab all... (3 Replies)
Discussion started by: jazz8146
3 Replies

7. Shell Programming and Scripting

convert the below perl sript to shell script

perl script: my $logdir = '/smp/dyn/logfiles/fsm/mp/mp'; $logdir = $logdir ."/mp${toDate}*"; i tried to make it..as below .. but not working .. date +%m%d%y logdir = /smp/dyn/logfiles/fsm/mp/mp logdir=$logdir/mp"$date" but it was not working..... can someone please help me out in... (1 Reply)
Discussion started by: mail2sant
1 Replies

8. Programming

SQL Issue please respond !!!

Hi Folks, I have a issue regards space in the records. Example: 999207404 |sp818056|STEVEN |LAWRENCE |Mike.S.Lawrence@sprint.com |2003 S Data Sales Mgr 77 |SVC ... (5 Replies)
Discussion started by: Haque123
5 Replies

9. Shell Programming and Scripting

compare dates using shell sript

I have 2 date feilds 2011-05-13:18:45 2011-05-13:18:30 I need to compare them and say its OK/NOK I tried this but dint work. systime=2011-05-13:18:45 shubtime=2011-05-13:18:30 if then echo" OK" else echo "NOK" fi In this its not same so the o/p should be NOK (2 Replies)
Discussion started by: LavanyaP
2 Replies

10. Shell Programming and Scripting

Monitoring Sript giving random end result

Hi Guys, I am developing a script to monitor GUI based FileNet Component "Component Manager" which logs it's running status in a log file. Log file is a huge file so in script I put last 300 lines of log file in seperate file and run script every 5 minutes. I am searching the string... (2 Replies)
Discussion started by: dhirajdsharma
2 Replies
vlimit(3)						     Library Functions Manual							 vlimit(3)

Name
       vlimit - control maximum system resource consumption

Syntax
       #include <sys/vlimit.h>

       vlimit(resource, value)

Description
       This facility has been superseded by

       Limits  the  consumption by the current process and each process it creates to not individually exceed value on the specified resource.	If
       value is specified as -1, then the current limit is returned and the limit is unchanged.  The resources which  are  currently  controllable
       are:

       LIM_NORAISE    Pseudo-limit; if set nonzero then the limits may not be raised.  Only the super-user may remove the noraise restriction.

       LIM_CPU	      The maximum number of cpu-seconds to be used by each process.

       LIM_FSIZE      The largest single file which can be created.

       LIM_DATA       The maximum growth of the data+stack region via beyond the end of the program text.

       LIM_STACK      The maximum size of the automatically-extended stack region.

       LIM_CORE       the size of the largest core dump that will be created.

       LIM_MAXRSS     a  soft  limit for the amount of physical memory (in bytes) to be given to the program.  If memory is tight, the system will
		      prefer to take memory from processes which are exceeding their declared LIM_MAXRSS.

       Because this information is stored in the per-process information this system call must be executed directly by	the  shell  if	it  is	to
       affect all future processes created by the shell; limit is thus a built-in command to

       The  system  refuses to extend the data or stack space when the limits would be exceeded in the normal way.  A break call fails if the data
       space limit is reached, or the process is killed when the stack limit is reached.  Since the stack cannot be extended, there is no  way	to
       send a signal.

       A file I/O operation which would create a file which is too large will cause a signal SIGXFSZ to be generated, this normally terminates the
       process, but may be caught.  When the cpu time limit is exceeded, a signal SIGXCPU is sent to the offending process; to allow  it  time	to
       process the signal it is given 5 seconds grace by raising the cpu time limit.

Restrictions
       If LIM_NORAISE is set, then no grace should be given when the CPU time limit is exceeded.

See Also
       csh(1)

																	 vlimit(3)
All times are GMT -4. The time now is 08:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy