04-05-2002
Sorry, I didn't understand the term "key off" in the context that you were using. I'll take a gander at that after lunch if someone else hasn't already answered.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm cross-posting from the "Unix for Dummies Q&A" forum as I didn't get any response there.
I'm wanting to drill down one level deeper from iostat. For example, for the following iostat output, I'd like to now understand the io for hdisk2 by filesystem:
Disks: % tm_act Kbps tps Kb_read... (1 Reply)
Discussion started by: priceb
1 Replies
2. UNIX for Dummies Questions & Answers
I'm wanting to drill down one level deeper that iostat. For example, for the following iostat output, I'd like to now understand the io for hdisk2 by filesystem:
Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk3 4.7 1792.0 80.7 0 5376
hdisk1... (2 Replies)
Discussion started by: priceb
2 Replies
3. UNIX for Dummies Questions & Answers
hi, had a basic question.
Inspite of deletion files from a filesystem(belonging to non-rootvg), the filesystem says 99% full.
can someone suggest something? except reboot could someone tell me how to proceed?
thanks (1 Reply)
Discussion started by: karthikosu
1 Replies
4. UNIX for Dummies Questions & Answers
HI Gurus,
I would like to know how can i know the dates when the filesystem was added to the server.
Thanks
Shaan (3 Replies)
Discussion started by: shaan_dmp
3 Replies
5. UNIX for Dummies Questions & Answers
i am about to install oracle on my solaris x86-64
This installation require 4Gb space and i qish to do this installation on the directory
/u01/app/oracle
The following was my approch
mkdir -p /u01/app/oracle
i then use the command below to see if there is enough space
# df -h... (6 Replies)
Discussion started by: seyiisq
6 Replies
6. Solaris
partition> print
Current partition table (original):
Total disk cylinders available: 15934 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 3 - 959 14.66GB (957/0/0) 30748410
1 swap wu 960 - ... (2 Replies)
Discussion started by: seyiisq
2 Replies
7. Solaris
Hi all,
currently , my root filesystem already reach 90 ++%
I already add more cylinder in the root partition as below
Part Tag Flag Cylinders Size Blocks
0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300
1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local.
Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies
9. Solaris
Hi guys!
Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both.
I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys.
Thanks! (4 Replies)
Discussion started by: arah
4 Replies
10. AIX
Dear all,
We are facing prolem when we are going to mount AIX filesystem, the system returned the following error
0506-307The AFopen call failed
: A file or directory in the path name does not exist.
But when we ls filesystems in the /etc/ directory it show
-rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
LEARN ABOUT CENTOS
keyctl_search
KEYCTL_SEARCH(3) Linux Key Management Calls KEYCTL_SEARCH(3)
NAME
keyctl_search - Search a keyring for a key
SYNOPSIS
#include <keyutils.h>
long keyctl_search(key_serial_t keyring, const char *type,
const char *description, key_serial_t destination);
DESCRIPTION
keyctl_search() recursively searches the keyring for a key of the specified type and description.
If found, the key will be attached to the destination keyring (if given), and its serial number will be returned.
The source keyring must grant search permission to the caller, and for a key to be found, it must also grant search permission to the call-
er. Child keyrings will be only be recursively searched if they grant search permission to the caller as well.
If the destination keyring is zero, no attempt will be made to forge a link to the key, and just the serial number will be returned.
If the destination keyring is given, then the link may only be formed if the found key grants the caller link permission and the destina-
tion keyring grants the caller write permission.
If the search is successful, and if the destination keyring already contains a link to a key that matches the specified type and descrip-
tion, then that link will be replaced by a link to the found key.
The source keyring and destination keyring serial numbers may be those of valid keyrings to which the caller has appropriate permission, or
they may be special keyring IDs:
KEY_SPEC_THREAD_KEYRING
This specifies the caller's thread-specific keyring.
KEY_SPEC_PROCESS_KEYRING
This specifies the caller's process-specific keyring.
KEY_SPEC_SESSION_KEYRING
This specifies the caller's session-specific keyring.
KEY_SPEC_USER_KEYRING
This specifies the caller's UID-specific keyring.
KEY_SPEC_USER_SESSION_KEYRING
This specifies the caller's UID-session keyring.
RETURN VALUE
On success keyctl_search() returns the serial number of the key it found. On error, the value -1 will be returned and errno will have been
set to an appropriate error.
ERRORS
ENOKEY One of the keyrings doesn't exist, no key was found by the search, or the only key found by the search was a negative key.
ENOTDIR
One of the keyrings is a valid key that isn't a keyring.
EKEYEXPIRED
One of the keyrings has expired, or the only key found was expired.
EKEYREVOKED
One of the keyrings has been revoked, or the only key found was revoked.
ENOMEM Insufficient memory to expand the destination keyring.
EDQUOT The key quota for this user would be exceeded by creating a link to the found key in the destination keyring.
EACCES The source keyring didn't grant search permission, the destination keyring didn't grant write permission or the found key didn't
grant link permission to the caller.
LINKING
Although this is a Linux system call, it is not present in libc but can be found rather in libkeyutils. When linking, -lkeyutils should be
specified to the linker.
SEE ALSO
keyctl(1),
add_key(2),
keyctl(2),
request_key(2),
keyctl(3),
request-key(8)
Linux 4 May 2006 KEYCTL_SEARCH(3)