07-10-2014
I can get the ppid of the processs, but how to get the detail informations from that ppid. For example, I know process's user is "guest", process's PPID is 1000000, but there are both 2 people using user "guest" from 2 diferent IP. So how to know which people ( IP ) begin the process ??
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to get a list of top level directories below the search path but I don't want to descend subdirectories. The find command listed below returns me the list I want but it also returns subdirectories. I can't seem to get the -prune option to work the way I want. How would I modify the... (5 Replies)
Discussion started by: FuzzySlippers
5 Replies
2. Shell Programming and Scripting
Hello All,
i have a script to get input from the user like bellow,
read -p "Do you want to continue (y/n) : " status
i want to identify the pressing of Enter Key with out giving any value for the above statement and i want get the status if we press Enter key during run time.
How to... (0 Replies)
Discussion started by: tsaravanan
0 Replies
3. UNIX for Dummies Questions & Answers
Hi all ,
could anyone please help with find command in AIX. I am trying to find files but there are more than 30thousand files in there.I realise I need to use xargs somehow but dunno the correct way to pull this.
find /log_directory/* -prune -xdev -type f -mtime +20 | xargs ls -l
the... (2 Replies)
Discussion started by: erinlomo
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am trying to find some files in a directory and then remove/list them if they are 30 days old. I also have 2 directories in that directory which I need to skip. Can someone please tell me what is the correct syntax?
find /developer/. -name "lost+found" "projects" -prune -o -type f... (2 Replies)
Discussion started by: tkhan9
2 Replies
5. AIX
In Unix If we executed any command where will generate the particluar log related to command in Unix. (4 Replies)
Discussion started by: victory
4 Replies
6. AIX
Hi ,
Could you please tell me how to find the following on AIX?
1.Command to find file system details?
2.What are all the files exist under a specific directory along with their sizes?
In general we use,
du -sh * | grep M under a directory which returns files having size of MB,... (18 Replies)
Discussion started by: Maddy123
18 Replies
7. Shell Programming and Scripting
Hello,
I am running find command in an AIX Server to find last 7 days modified directories/files.
>cd /usr/openv/netbackup/db/class
>ls -l
total 0
drwxr-xr-x 3 root system 256 May 28 2014 Catalog-Backup
drwxr-xr-x 3 root system 256 Sep 18 2012 ... (4 Replies)
Discussion started by: rahul2662
4 Replies
8. AIX
Hello experts, I would get from a list of files, which are more ancient than 1 hour. Examples:
Current date:
Wed Oct 28 16:10:02 SAT 2015
using:
find path -name 'file_name. *' -mtime +0
I see files with less at 00:00:00 date of the current day.
/path/file_name.20151027170725... (7 Replies)
Discussion started by: carlino70
7 Replies
9. UNIX for Beginners Questions & Answers
I need to delete all files from the working directory and its sub directories using the find command, for that I am using -prune option but some how I am having a syntax issue.
I have tried the below, please help me correct the syntax
find . -name \* -type f -exec rm -f {} \; >> Works but... (4 Replies)
Discussion started by: rosebud123
4 Replies
10. Shell Programming and Scripting
I have AiX system version 6.1
I wish the below find command to work on AiX system ksh shell and give similar output as this works fine on RedHat Linux centos 7.
find /app/logs/fname1.out -printf "%M %u %TY-%Tm-%Td %TH:%TM %h/%f $(cksum<fname1.out | cut -d' ' -f1)\n"
Output:
-rw-r--r--... (7 Replies)
Discussion started by: mohtashims
7 Replies
LEARN ABOUT FREEBSD
hv_kvp
HYPER-V(4) BSD Kernel Interfaces Manual HYPER-V(4)
NAME
hv_kvp -- Hyper-V Key Value Pair Driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in the system kernel configuration file:
device hyperv
DESCRIPTION
The hv_kvp driver provides the ability to store, retrieve, modify and delete key value pairs for FreeBSD guest partitions running on Hyper-V.
Hyper-V allows administrators to store custom metadata in the form of key value pairs inside the FreeBSD guest partition. Administrators can
use Windows Powershell scripts to add, read, modify and delete such key value pairs.
The driver is bare bones and merely forwards requests to its counterpart user mode daemon, hv_kvp_daemon(8). The daemon maintains pools of
key value pairs and does the actual metadata management.
The same driver and daemon combination are also used to set and get IP addresses from a FreeBSD guest.
The set functionality is particularly useful when the FreeBSD guest is assigned a static IP address and is failed over from one Hyper-V host
to another. After failover, Hyper-V uses the set IP functionality to automatically update the FreeBSD guest's IP address to its original
static value.
On the other hand, the get IP functionality is used to update the guest IP address in the Hyper-V management console window.
SEE ALSO
hv_ata_pci_disengage(4), hv_netvsc(4), hv_storvsc(4), hv_utils(4), hv_vmbus(4), hv_kvp_daemon(8)
HISTORY
Support for hv_kvp first appeared in FreeBSD 10.0. The driver was developed through a joint effort between Citrix Incorporated, Microsoft
Corporation and Network Appliance Incorporated.
AUTHORS
FreeBSD support for hv_kvp was first added by Microsoft BSD Integration Services Team <bsdic@microsoft.com>.
BSD
September 10, 2013 BSD