Hi all,
I am developing a C++ application on Sun Solaris. Is there any function bundled in the C++ library that can display memory usages of a process? I dont want use command. Many thanks.
Lan (1 Reply)
Hi,
I am trying to use the split commad to seperate string reading from file. but it dosent give me a correct result. can some body tell me what is the wrong in following scritp.
#!/usr/bin/perl -w
#use CGI qw(:standard); ... (2 Replies)
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Hi,
I have one file in this format
20 value1
33 value2
56 value3
I have another file in this format:
34,30-SEP-09,57,100237775,33614510126,2,34
34,30-SEP-09,57,100237775,33620766654,2,34
34,30-SEP-09,108,100237775,33628458122,2,34
34,30-SEP-09,130,100237775,33635266741,2,254... (6 Replies)
i have two files as shown below
t1.txt:
argument1
argu2
argu37
t2.txt:
22
33
44
i want o/p as
argument1 22
argu2 33
argu37 44
i am trying to merge two file under perl script using following
system("paste t1.txt t2.txt | awk... (3 Replies)
Hi Experts,
I am executing multiple instances(in parallel) of perl script on HP-UX box.
OS is allocating substantial amount of CPU to these perl processes,resulting higher cpu utilization.
Glance always shows perl processes are occupying majority of the CPU resource. It is causing slower... (2 Replies)
Hi I have some doubts with below perl script sub program .
In the below code what are below lines do ?
1. ($user, $server, $os, $version, $ref_path, $ref_line, $ref_ftp) = @_;
2. if ( -e "/usr/kerberos/bin/krsh" )
3. $$ref_path = "/usr/kerberos/bin" unless ($$ref_path);why we are... (1 Reply)
Hi,
I have a shell script, In which i have variable "var1" and some perl command inside shell script.
export var1='coep -n rst-a2p-hinje.vci.all.com -c'
perl -pi -e 's/^/coep -n rst-a2p-hinje.vci.all.com -c /' command.txt
currently I am adding value of var1 in command.txt file by... (2 Replies)
I am working on converting shell to Perl script. In shell we have built in function
trap
Do you know alternative in Perl or actually we don't need it?
Thanks for contribution (3 Replies)
Discussion started by: digioleg54
3 Replies
LEARN ABOUT ULTRIX
kinit
kinit(8krb)kinit(8krb)Name
kinit - Kerberos login utility
Syntax
/usr/bin/kinit [ -irv ]
Description
You use the command to log into the Kerberos authentication and authorization system. You also use the command when your original tickets
have expired. When you use the command without options, the utility prompts for a username and a Kerberos password and attempts to authen-
ticate to the local Kerberos server.
If Kerberos authenticates you correctly, retrieves your initial ticket and puts it in the ticket file specified by the KRBTKFILE environ-
ment variable. If you have not defined this variable, the ticket is stored in the file
Make sure you use the command to destroy any active tickets before ending your login session. You may want to put the command in a file so
that all tickets are destroyed automatically when you log out. Only registered Kerberos users can use the Kerberos system.
Options-i Causes to prompt you for a Kerberos instance.
-r Causes to prompt you for a Kerberos realm. This option lets you authenticate yourself with a remote Kerberos server.
-v Initiates verbose mode. This causes to print the name of the ticket file used and a status message indicating the success or fail-
ure of your login attempt.
Restrictions
Although user-level authentication is not supported, is useful for testing the installation of Kerberos functionality, by determining if a
newly installed principal can obtain a ticket-granting ticket. For example, to determine if the running on machine X can obtain its
ticket-granting ticket, you can run input the principal name, the instance, X, and the password of If succeeds, then Kerberos is correctly
installed on machine X.
The option has not been fully implemented.
Files
See Also
kdestroy(8krb), klist(8krb)kinit(8krb)