10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
i want to list all system processes showing the attributes pid, user name, cpu consumption, and the difference between the resident memory and the swap memory needed to stock the process in case of suspending it.
i have two questions, the resident memory is the attribute size i think,... (4 Replies)
Discussion started by: Eskizoide
4 Replies
2. Shell Programming and Scripting
Hi,
I am new to shell scripting and got a task to complete.
Task is : we have a log file where in i need to traverse through the whole file to check the string "Person Type missing in message" and after that i need to get EMPLID=xxxxxx from the file and print details in a different file.
... (1 Reply)
Discussion started by: suren424
1 Replies
3. Red Hat
Hi Linux Experts,
I am using RHEL 6.4, on checking I identified some files ends with the file attribute like dot (.) at the end. Whereas, I checked with the same level of other servers and I don't identify dot(.) at the end of file attribute. Why is it so? is there any meaning for it.
... (3 Replies)
Discussion started by: gsiva
3 Replies
4. UNIX for Dummies Questions & Answers
I'm using xml_grep command to get the value of different tags in a xml-file.
No i also need the value of an attribute in a tag.
Can I use xml_grep for this? Does anybody know how?
ex. :
<Name xmlns:xsi="http://www.w3.org/2001/XMLinst" xsi:spaceSchema="Name_5879.xsd">
...
</Name>
I... (1 Reply)
Discussion started by: pistach
1 Replies
5. Shell Programming and Scripting
I have an xml file.I want to change the value of some tag:
<WASConfig version='1.1'>
<JavaVirtualMachine>
<scope>
<server>
<hostNode>myAsNode</hostNode>
<name>myserver</name>
</server>
</scope>
<Settings>
<Setting>
... (5 Replies)
Discussion started by: javaholics
5 Replies
6. Red Hat
Hello Friends ,
Where do i check the following settings in redhat ?
1. Minimum required number of characters in the password (passwordMinLength)
2. Minimum number of digit characters, meaning numbers between zero and nine (passwordMinDigits)
3. Minimum number of ASCII alphabetic... (2 Replies)
Discussion started by: avklinux
2 Replies
7. Shell Programming and Scripting
HI,
Iam new to scripting..I need some guidance for invoking the following logic..
My input file contains
Event Time = Thu, Nov 6, 2008 08:41:56 AM
Probable Cause = UnspecifiedReason
Specific Problems = BTS down due to Tx
... (16 Replies)
Discussion started by: Llb
16 Replies
8. Shell Programming and Scripting
Hello ,
I am stuck out in a part of my script, though I am trying it through a script of loops but i emphasis on having a short code :
Input file has Attribute values changing with time
Date Monday October 30 10:22:56 IST 2006
object values references Date ... (8 Replies)
Discussion started by: er_aparna
8 Replies
9. Linux
Could anyone help i have a question that i have a problem with for my home work it is,
How do i change file permissions in a command line enviromet
thanx (1 Reply)
Discussion started by: Cube3k
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I need to find out when a file has been created. 'ls -l' just lists the last date the file was modified. I have also noticed when viewing the attributes through NT, the last modified date is the same as the file creation date. I thought maybe this was a fault due to samba.
I guess what... (1 Reply)
Discussion started by: dpalmer
1 Replies
libAF(3) Library Functions Manual libAF(3)
NAME
libAF - Provides Attribute File Library functions to manipulate file attributes
LIBRARY
Attribute File Library (libAF.a)
SYNOPSIS
#include <AFdefs.h>
void AFclose( AFILE_t af);
ATTR_t AFgetatr( ENT_t entry, char *name);
ENT_t AFgetent( AFILE_t af, char *name);
ENT_t AFgetent( AFILE_t af, char *name);
char *AFgetval( ATTR_t attr);
ATTR_t AFnxtatr( ENT_t entry);
ENT_t AFnxtent( AFILE_t af);
char *AFnxtval( ATTR_t attr);
AFILE_t AFopen( char *filename, int maxrecsiz, int maxnumatr);
int AFread( af);
void AFrewind( AFILE_t af);
void AFsetdflt( AFILE_t af, char *dflt);
PARAMETERS
Specifies the attribute file to be closed. Specifies the entry name. Specifies the name of an attribute value. Specifies the attribute
value in the attribute list. Specifies the attribute filename. Specifies the maximum size of a record in bytes. Specifies the maximum
number of attributes per record. Points to the character name string of an attribute file structure.
DESCRIPTION
The libAF functions are provided for programs that use attribute files. These functions perform the following: Closes the specified
attribute file. Gets the attribute value matching name from the attribute list. Returns a pointer entry to the value of name. Finds the
first entry in an attribute file which has the specified name. Returns a pointer af to an attribute structure. Gets the next attribute
value from the attribute list for the specified attribute value. Returns a pointer attr to the character string of the first value in the
attribute list. Gets the next attribute from the entry list for the attribute file entry. Returns a pointer to an attribute structure.
Gets the next entry from an attribute file. Merges in any default entry that proceeds it. Returns a pointer to an attribute structure.
Gets the next attribute value from the attribute list for the current attribute. Returns a pointer to the next string value in the
attribute list. Opens the specified attribute file. Returns a pointer to an attribute file structure. Reads the next entry from an
attribute file. Fills in the current attribute table and buffer. Moves to the beginning of the specified attribute file. Sets the
default entry name for the specified attribute file.
RELATED INFORMATION
stanza(4) delim off
libAF(3)