lid(1) General Commands Manual lid(1)NAME
lid - Display user's groups or group's users
SYNOPSIS
lid [OPTION]... [name]
DESCRIPTION
Displays information about groups containing user name, or users contained in group name.
By default lid lists groups containing user name, or groups containing the invoking user if name is not specified; the mode of operation
can be changed using the -g option.
OPTIONS -g, --group
List users in a group name, or in the invoking user's primary group if name is not specified.
-i, --interactive
Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.
-n, --onlynames
List only group or user names. By default the corresponging user or group IDs are listed too.
EXIT STATUS
The exit status is 0 on success, 1 on error.
libuser Dec 6 2007 lid(1)
Check Out this Related Man Page
IBV_ATTACH_MCAST(3) Libibverbs Programmer's Manual IBV_ATTACH_MCAST(3)NAME
ibv_attach_mcast, ibv_detach_mcast - attach and detach a queue pair (QPs) to/from a multicast group
SYNOPSIS
#include <infiniband/verbs.h>
int ibv_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
uint16_t lid);
int ibv_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
uint16_t lid);
DESCRIPTION
ibv_attach_mcast() attaches the QP qp to the multicast group having MGID gid and MLID lid.
ibv_detach_mcast() detaches the QP qp to the multicast group having MGID gid and MLID lid.
RETURN VALUE
ibv_attach_mcast() and ibv_detach_mcast() returns 0 on success, or the value of errno on failure (which indicates the failure reason).
NOTES
Only QPs of Transport Service Type IBV_QPT_UD may be attached to multicast groups.
If a QP is attached to the same multicast group multiple times, the QP will still receive a single copy of a multicast message.
In order to receive multicast messages, a join request for the multicast group must be sent to the subnet administrator (SA), so that the
fabric's multicast routing is configured to deliver messages to the local port.
SEE ALSO ibv_create_qp(3)AUTHORS
Dotan Barak <dotanba@gmail.com>
libibverbs 2006-10-31 IBV_ATTACH_MCAST(3)
I have a tab delimited HUGE file (13 million records) with Detail, Metadata and Summary records.
Sample File looks like this
M BESTWESTERN 4 ACTIVITY_CNT_L12 A 3
M AIRTRAN 4 ACTIVITY_CNT_L12 A 3
D BESTWESTERN FIRSTNAME LASTNAME 209 N SANBORN AVE
D BESTWESTERN FIRSTNAME LASTNAME 6997... (25 Replies)
Hi there
I am running a script which requires the input of a MAC address from the user and was loooking for a regex that will verify the user has inputted a full 12 digit valid MAC with colons
Ive seen a few on some sites that look huge and was wondering if anybody had a one liner (or as... (21 Replies)
I am working on AIX. We ftp files to a database. The flat files are having thousands of records and each record is having some 50 to 60 characters(there are fields having certain character length). In addition to some valid ascii characters some invalid characters like Å, å, Ä, ä or pipes creep in which... (15 Replies)
Hi,
I tried the below piece of code for my script to check whether it has a blank space for a particular field.
if(f10==/]/){
print "Field 10 is Correct";}
else{
print "Field 10 is Wrong"; }
Please help me to know whether the "if" condition applied here is correct or do i... (14 Replies)
Hi,
I have a pipe delimited file with 1 million records. I need to validate each line by counting the number of delimiters, if any line fails to have the specified number of delimiters, taat line has to be sent to a reject file.
Kindly suggest.
if code provided, it is highly appreciated, and... (22 Replies)
Hmm, didn't you press that "Submit new thread" button too early ? ;)
Reference this post:
https://www.unix.com/whats-your-mind/124692-seasons-greetings-happy-holidays-unix-linux-forums.html (15 Replies)
Hi,
I'm trying to do input validation for a file. If the user fails to enter a file name, the script should prompt for the file name or exit. I'm using this script to integrate with a bigger script which does ftp of the files which are "read".
#!/bin/ksh
echo "enter a file name"
if
then... (16 Replies)
Hi All
I am trying to validate a value using if condition
requirement is need to check whether its a valid numeric value
the input contains ( space, #N/A and negative and positive decimal values and Zeros)
if it contains the space, I need to display the error message as space
... (15 Replies)
I am trying to find the home directory of users on a UNIX (Solaris/AIX) box using
echo ~usernameThis does return the home directory for all valid users. For some reason this command also outputs home directory which are non-existent for few users who seem not to have logon access to that... (31 Replies)
Hi,
I have basic knowledge on unix shell scripting(not an expert).
My requirement is reading the csv file using the schema defined in the configuration file and if the condition is not mached then move the unmatched record to a error file and matched good records into other file.
In brief: ... (43 Replies)
Hi,
anyone please let us know how to write shell script to find the missing mountpoints after server reboot.
i want to take the mountpount information before server reboot, and validate the mountpoints after server reboot if any missing.please let us know the shell script from begining to end as... (24 Replies)
HI Team,
I have script to find the invalid character in file.
f=’pallvi\mahajan’
n=0
while (( $n <= ${#f} ));
do
c="${f:$n:1}"
echo '$c'
if *] ]];
then
grep -sq $c valid.txt
if ;
then
echo "$f" >> f.txt
break
fi
fi (18 Replies)
hi
i have an android phone which i think is bricked, so wanted to see what the actual issue is, I flashed it with TWRP recovery image and launched terminal i, was able understand that mount is not happening, it says invalid argument and no such file or directory. Below is what i get while... (32 Replies)