Sponsored Content
Operating Systems Solaris How to limit number of Commands Post 302330159 by winger0608 on Tuesday 30th of June 2009 10:54:09 AM
Old 06-30-2009
How to limit number of Commands

Is there a way that I can limit number of commands that one user can run during period of time. For example Max 10 commands per senconds.Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

limit to number of files in a given directory

Everyone, We are on a unix AIX 4.3 platform and our application is written as such that all configuration files must reside in a specific directory. Currently there are over 10,000 files in this directory (and growing at about 300 per month). My question is is there a physical limit to the... (2 Replies)
Discussion started by: hedrict
2 Replies

2. Shell Programming and Scripting

How to limit the number of running instances of a script?

I would like to allow only one instance of a script to run at any moment. I've tried the following solution to count the instances but the result is always the number of running instances plus one and I can't find the problem ps -ef | grep $0 | sed '/^$/ d' | sed '/grep/ d' | wc -l Please... (2 Replies)
Discussion started by: oti
2 Replies

3. Shell Programming and Scripting

limit the number of jobs to run.

i just want to get the BackGround status and limit the number of jobs to run the at a time. can i able get the back ground exit status ? that i code below. can jobs -l limit the number of jobs to run ? total is this script looks fine ? cat run_job.ksh #!/usr/bin/ksh... (0 Replies)
Discussion started by: GrepMe
0 Replies

4. Shell Programming and Scripting

Limit of number of lines for awk and sed.

Hi, I'm using awk and sed to extract some data out from a text file. The text file consists of data over a million (prolly millions) of lines. Question: Is there a limit of number of lines for awk and sed? Thanks in advance. (2 Replies)
Discussion started by: 60doses
2 Replies

5. UNIX for Dummies Questions & Answers

Number of long limit

Hi Hi! I'm currently using AIX 5.2 and would like to know where can i find to see that there's a restriction on the number of login times a user can have. Example, I want give a 2 login per user but some one to give 3 login and some one have to give unlit login time (without logging off the... (2 Replies)
Discussion started by: herath
2 Replies

6. Programming

How to limit the number of child processes

I need a mechanism to fork child processes and all child processes should connect to a server.but the number of child processes should be limited(for ex:50) Here's my pseudo, but I cant figure out how to limit the child process number. Should I use a semaphore? or what? for(;;)... (3 Replies)
Discussion started by: xyzt
3 Replies

7. Shell Programming and Scripting

Limit on Number of characters in a line - Vi editor

In the vi editor, there seems to be some limit on the number of characters could be allowed in single line. I tried a line with characters up to 1880. It worked. But when i tried with something of 5000 characters, it doesnt work. Any suggestions. Thanks in advance! (2 Replies)
Discussion started by: nram_krishna@ya
2 Replies

8. UNIX for Dummies Questions & Answers

Limit the number of characters in a bash output

I have a script that outputs the weather on two lines. If possibly I would like to set a character limit on them Currently it outputs something like but I would like to limit the lines so appends an ellipsis if nescessary: This is the script #! /bin/bash curl -s --connect-timeout... (2 Replies)
Discussion started by: Light_
2 Replies

9. UNIX for Dummies Questions & Answers

Limit Number of files

hi guys how can i limit number of files in a disk or partition ? or how can i make a limit to inode number for a disk or partition ? ext3 or ext4 file system (1 Reply)
Discussion started by: mhs
1 Replies

10. UNIX for Beginners Questions & Answers

Limit number of files transferred

I've a folder in remote server and it has 50 files. I like to transfer these files by first 10 and next 10 files. I'm using mget command to transfer the files. How to limit the file transfer limit to 10. instead of copying 50 files at a time. Thanks Janarthan (5 Replies)
Discussion started by: Janarthan
5 Replies
checknr(1)						      General Commands Manual							checknr(1)

Name
       checknr - check nroff/troff files

Syntax
       checknr [-s] [-f] [-a.x1.y1.x2.y2. ... .xn.yn] [-c.x1.x2.x3... .xn] [file...]

Description
       The  command  checks  a	list of or input files for certain kinds of errors involving mismatched opening and closing delimiters and unknown
       commands.  If no files are specified, checks the standard input.  Delimiters checked are:

       5      Font changes using fx ... fP.

	      Size changes using sx ... s0.

	      Macros that come in open ... close forms, for example, the .TS and .TE macros which must always come in pairs.

       The command knows about the and macro packages.

       The command is intended to be used on documents that are prepared with in mind, much the same as It  expects  a	certain  document  writing
       style for f and s commands, in that each fx must be terminated with fP and each sx must be terminated with s0.  While it will work to
       directly go into the next font or explicitly specify the original font or point size, and many existing documents actually do this, such  a
       practice  will  produce complaints from Since it is probably better to use the fP and s0 forms anyway, you should think of this as a con-
       tribution to your document preparation style.

Options
       -a   Allows additional pairs of macros to be added to the list.	This must be followed by groups of six characters, each group  defining  a
	    pair  of  macros.	The six characters are a period, the first macro name, another period, and the second macro name.  For example, to
	    define a pair .BS and .ES, use -a.BS.ES.

       -c   Defines commands otherwise complained about as undefined.

       -f   Ignores f font changes.

       -s   Ignores s size changes.

Restrictions
       There is no way to define a 1 character macro name using -a.
       Does not correctly recognize certain reasonable characters, such as conditionals.

Diagnostics
       Complaints about unmatched delimiters.

       Complaints about unrecognized commands.

       Various complaints about the syntax of commands.

See Also
       eqn(1), nroff(1), troff(1), ms(7), me(7)

																	checknr(1)
All times are GMT -4. The time now is 02:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy