Sponsored Content
Top Forums Shell Programming and Scripting Solaris+Perl script to get process start date Post 302412208 by m171c0 on Monday 12th of April 2010 04:56:28 AM
Old 04-12-2010
www.openyoursource.com

Boa noite, estamos com o portal http://www.openyoursource.com, e iniciamos ha praticamente ha 2 semanas e meia, somos um portal de artigos,duvida,dicas,truques e etc, sobre o sistema solaris10 e opensolaris, nao estamos para competir com o linux, e com outros queremos ser um canal de referencia para o opensolaris.
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

to get process start date and time

what is command to get same using ps with switch. I know process id, by specify process id. It should work on solaris and hp-ux I will be happy if for both different commands. (2 Replies)
Discussion started by: naeem ahmad
2 Replies

2. UNIX for Dummies Questions & Answers

start process at assidned date and time

How can I start FTP at assigned DATE and TIME? (6 Replies)
Discussion started by: gd2003
6 Replies

3. Shell Programming and Scripting

Script - How to automatically start another process when the previous process ends?

Hi all, I'm doing automation task for my team and I just started to learn unix scripting so please shed some light on how to do this: 1) I have 2 sets of datafiles - datafile A and B. These datafiles must be loaded subsequently and cannot be loaded concurrently. 2) So I loaded datafile A... (10 Replies)
Discussion started by: luna_soleil
10 Replies

4. Solaris

How to get process start date and time in SOLARIS?

how can I get the process start date and time? using ps command i can get the timstamp for a process, which are started today. and only date (MMM DD) for others. i need to get both for all the running process. please help. Regards, Jagadeeswaran.K (7 Replies)
Discussion started by: Jagadeeswaran.K
7 Replies

5. UNIX for Dummies Questions & Answers

Script to start background process and then kill process

What I need to learn is how to use a script that launches background processes, and then kills those processes as needed. The script successfully launches the script. But how do I check to see if the job exists before I kill it? I know my problem is mostly failure to understand parameter... (4 Replies)
Discussion started by: holocene
4 Replies

6. Shell Programming and Scripting

Need to capture dates between start date and end date Using perl.

Hi All, Want to get all dates and Julian week number for that date between the start date and end date. How can I achive this using perl? (To achive above functionality, I was connecting to the database from DB server. Need to execute the same script in application server, since databse... (6 Replies)
Discussion started by: Nagaraja Akkiva
6 Replies

7. Shell Programming and Scripting

Extract week start,end date from given date in PERL

Hi All, what i want to do in perl is i should give the date at run time .Suppose date given is 23/12/2011(mm/dd/yyyy) the perl script shold find week start date, week end date, previous week start date,end date,next week start date, end date. In this case week start date will be-:12/19/2011... (2 Replies)
Discussion started by: parthmittal2007
2 Replies
it_portal_create(3ISCSIT)				iSCSI Management Library Functions				 it_portal_create(3ISCSIT)

NAME
it_portal_create, it_portal_delete - create and delete iSCSI portals SYNOPSIS
cc [ flag... ] file... -liscsit [ library... ] #include <libiscsit.h> int it_portal_create(it_config_t *cfg, it_tpg_t *tpg, it_portal_t **portal, char *portal_ip_port); void it_portal_delete(it_config_t *cfg, it_tpg_t *tpg, it_portal_t *portal); PARAMETERS
cfg a pointer to the iSCSI configuration structure tpg a pointer to the it_tpg_t structure representing the target portal group portal a pointer to the it_portal_t structure representing the portal portal_ip_port a string containing an appropriatedly formatted IP address:port. Both IPv4 and IPv6 addresses are permitted. IPv6 addresses should be enclosed in square brackets ('[', ']'). DESCRIPTION
The it_portal_create() function adds an it_portal_t structure representing a new portal to the specified target portal group. A portal may belong to one and only one target portal group. The it_portal_delete() function removes the specified portal from the specified target portal group. Configuration changes as a result of these functions are not instantiated until the modified configuration is committed by calling it_con- fig_commit(3ISCSIT). RETURN VALUES
The it_portal_create() function returns 0 on success and an error value on failure. ERRORS
The it_portal_create() function will fail if: EEXIST The portal was already configured for another portal group. EINVAL A parameter is invalid. ENOMEM Resources could not be allocated. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
it_ini_create(3ISCSIT), it_tgt_create(3ISCSIT), it_tpg_create(3ISCSIT), libiscsit(3LIB), it_config_commit(3ISCSIT), libiscsit(3LIB), libn- vpair(3LIB), libstmf(3LIB), attributes(5) SunOS 5.11 1 Oct 2008 it_portal_create(3ISCSIT)
All times are GMT -4. The time now is 07:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy