Hello,
I'm on a mac trying to have the follow cmd list the files after touch, but very unsuccessful. Please can you help.
sort $BOTHFILE | uniq -u | xargs -I {} -t touch {} >> $LOGFILE ;
BOTHFile contents in form of
/directory/file.txt
thanx (3 Replies)
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)
Hi,
Would like to know where do i find these process limit on OS level as my MQ is prompting this error...
An attempt to create an MQ process was rejected by the operating system due to a process limit (2 Replies)
HI All,
Can anyone send me a command to find TOP 5 Memory consuming process.
It would be lelpful if I get output something like below
processname - pid - memory(in MB) - command
I tried few commands from the internet but the result only give the real memory usage or pagging, I want total... (4 Replies)
I'm having a problem increasing the Postfix 2.5 smtpd process limit to 200. Here's what I have tried so far:
1)
/etc/postfix/main.cf:
default_process_limit = 2002)
/etc/postfix/master.cf:
smtp inet n - - - 200 smtpd3)
/etc/postfix/master.cf:
smtp ... (0 Replies)
This is my first time writing a script and Im having some trouble,
Im trying to use the top command to monitor processes and the amount of CPU usage they require, my aim is to get an email if a process takes over a certain percentage of CPU usage
I tried grep
Obviosly that hasnt worked,
Any... (8 Replies)
I wanted to know how to find the memory taken by a process using top command. The output of the top command is as follows as an example:
Mem: 13333364k total, 13238904k used, 94460k free, 623640k buffers
Swap: 25165816k total, 112k used, 25165704k free, 4572904k cached
PID USER ... (6 Replies)
For instance, when I run ss -lptn | grep sshd , the output is as follows:
LISTEN 0 128 *:22 *:* users:(("sshd",1252,3))
1252 refers to the process id, but what does the 3 refer to ? (2 Replies)
I'm trying to create a minimal, crude keylogger for X using only a shell script. I was quickly stumped: Why do these two commands entered in a terminal emulator produce output when I type...
$ xinput test 6 | grep press
$ xinput test 6 | awk '{print $3}'
...but this command produces no... (13 Replies)
Discussion started by: DevuanFan
13 Replies
LEARN ABOUT ULTRIX
dwtlistboxsetpos
DwtListBoxSetPos(3Dwt)DwtListBoxSetPos(3Dwt)Name
DwtListBoxSetPos - Makes a specified position (item number in the list) the top visible position in a list box, or as close to the top as
possible.
Syntax
void DwtListBoxSetPos(widget, position)
Widget widget;
int position;
Arguments
widget Specifies the ID of the list box widget whose specified item number in the list you want displayed in the top position.
position Specifies the item number in the list displayed in the top position in the list box.
Description
The DwtListBoxSetPos function makes the specified position (the item number in the list) the top visible position in a list box. The func-
tion determines which item in the list box is displayed at the top of the list box, the choice of which is limited by the DwtNitemsCount
and DwtNvisibleItemsCount attributes to the list box widget. When DwtNvisibleItemsCount is greater than 1 and less than DwtNitemsCount,
the list box widget fills the list box with the maximum visible items regardless of the position value.
For example, if DwtNitemsCount is 10 and DwtNvisibleItemsCount is 5, you cannot make item 8 be displayed at the top of the list box.
Instead, items 6 through 10 would be displayed. Setting position to 4 would make items 4 through 8 be displayed. If DwtNvisibleItemsCount
is 1, you can make any item in the list be displayed at the top of the list box.
See Also
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtListBoxSetPos(3Dwt)