/ /OREF:CPTC47F0 Re: Mkcd-AIX help

2003-10-10 Thread Cecily Hewlett
Dear Balanand,

Excluding files from a mkcd, works the same way as a mksysb.  mkcd
uses /etc/exclude.rootvg for files/directories to be excluded from
the backup.

  Use the -e flag.

/usr/sbin/mkcd -d /dev/cd0 -L -D -e


The mkcd command automatically excludes any temporary files created
during the backup, by  inserting  the  filenames  into the
/etc/exclude.rootvg file...

# cat /etc/exclude.rootvg
./mkcd/mksysb_image
./mkcd/cd_images
./mkcd/cd_fs

I have a nice script which runs my mksysbs, using mkcd command, if u
want it let me know.

Cecily


Re: Mkcd-AIX help

2003-10-09 Thread PINNI, BALANAND (SBCSI)
Dan

Please reply to the point.

-Original Message-
From: Dan Foster [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 11:30 AM
To: ADSM: Dist Stor Manager
Subject: Re: Mkcd-AIX help


Hot Diggety! PINNI, BALANAND (SBCSI) was rumored to have written:
>
> Please excuse me for asking aix issue .But I think this was pressing issue
> for me right now.
>
> I use mkcd to backup AIX os to DVD . My question is what is equivalent to
> /etc/exclude.rootvg for mkcd compared to mksysb. I want to exclude file
> system (application) from backing up on DVD.

Well, you can do a mksysb if rootvg or savevg if non-rootvg volume group,
with your own exclude file. Then you supply that image to mkcd. Ie:

# mkcd -m /path/mksysb.image 

or

# mkcd -s /path/savevg.image 

-Dan


Re: Mkcd-AIX help

2003-10-09 Thread Dan Foster
Hot Diggety! PINNI, BALANAND (SBCSI) was rumored to have written:
>
> Please excuse me for asking aix issue .But I think this was pressing issue
> for me right now.
>
> I use mkcd to backup AIX os to DVD . My question is what is equivalent to
> /etc/exclude.rootvg for mkcd compared to mksysb. I want to exclude file
> system (application) from backing up on DVD.

Well, you can do a mksysb if rootvg or savevg if non-rootvg volume group,
with your own exclude file. Then you supply that image to mkcd. Ie:

# mkcd -m /path/mksysb.image 

or

# mkcd -s /path/savevg.image 

-Dan


Mkcd-AIX help

2003-10-09 Thread PINNI, BALANAND (SBCSI)
All-

Please excuse me for asking aix issue .But I think this was pressing issue
for me right now.
I use mkcd to backup AIX os to DVD . My question is what is equivalent to
/etc/exclude.rootvg for mkcd compared to mksysb. I want to exclude file
system (application) from backing up on DVD.

Thanks
Balanand Pinni
23-H-4
SBC Services Inc
OBC ,Stl MO
*   314-206-5911
* [EMAIL PROTECTED]
* 1- 800- 451- 6897


Re: AIX Help

2001-05-16 Thread Hillhouse, Ted L.

I had this happen also.  I had a gentleman tell me to use sh instead of ksh
and it worked.

-Original Message-
From: Jeff Bach [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 11:19 AM
To: [EMAIL PROTECTED]
Subject: Re: AIX Help


This is what I use: from a trusted system

echo "On which system would you like to start the scheduler?"
read system

remsh $system ". /u/data/environment;nohup /usr/adsm/dsmc schedule >
/dev/null 2
>&1 &"

Jeff Bach
Home Office Open Systems Engineering
Wal-Mart Stores, Inc.

WAL-MART CONFIDENTIAL


-Original Message-
From:   Michael Prix [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, May 15, 2001 2:55 PM
To: [EMAIL PROTECTED]
    Subject:Re: AIX Help

Am Donnerstag, 10. Mai 2001 00:13 schrieben Sie:
> I am trying to run the "nohup dsmc sched 2> /dev/null &" command
on my AIX
> 4.3.3 machine and it works but every time I exit.  It says "There
are jobs
> running"  so I exit again and whe I check the dsmc sched process
is not
> running.  I thought the nohup command was suppose to let process
run even
> after you logout.  What am I doing wrong.

As it is written in the README for AIX4.3.3, start the processes
with 


Re: AIX Help

2001-05-16 Thread Jeff Bach

This is what I use: from a trusted system

echo "On which system would you like to start the scheduler?"
read system

remsh $system ". /u/data/environment;nohup /usr/adsm/dsmc schedule >
/dev/null 2
>&1 &"

Jeff Bach
Home Office Open Systems Engineering
Wal-Mart Stores, Inc.

WAL-MART CONFIDENTIAL


-Original Message-
From:   Michael Prix [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, May 15, 2001 2:55 PM
To: [EMAIL PROTECTED]
    Subject:Re: AIX Help

Am Donnerstag, 10. Mai 2001 00:13 schrieben Sie:
> I am trying to run the "nohup dsmc sched 2> /dev/null &" command
on my AIX
> 4.3.3 machine and it works but every time I exit.  It says "There
are jobs
> running"  so I exit again and whe I check the dsmc sched process
is not
> running.  I thought the nohup command was suppose to let process
run even
> after you logout.  What am I doing wrong.

As it is written in the README for AIX4.3.3, start the processes
with 


Re: AIX Help

2001-05-15 Thread Michael Prix

Am Donnerstag, 10. Mai 2001 00:13 schrieben Sie:
> I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
> 4.3.3 machine and it works but every time I exit.  It says "There are jobs
> running"  so I exit again and whe I check the dsmc sched process is not
> running.  I thought the nohup command was suppose to let process run even
> after you logout.  What am I doing wrong.

As it is written in the README for AIX4.3.3, start the processes
with 


Re: AIX Help

2001-05-10 Thread Prather, Wanda

 I believe starting at AIX 4.2.something, nohup actually changed rules; you
have to also < /dev/null.  The example below is in the README for the AIX
client, and it works for me on AIX 4.3.3:

nohup dsmc sched >/dev/null 2>&1 < /dev/null &


-Original Message-
From: Dearman, Richard
To: [EMAIL PROTECTED]
Sent: 5/9/01 6:13 PM
Subject: AIX Help

I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my
AIX
4.3.3 machine and it works but every time I exit.  It says "There are
jobs
running"  so I exit again and whe I check the dsmc sched process is not
running.  I thought the nohup command was suppose to let process run
even
after you logout.  What am I doing wrong.

Thanks
***EMAIL  DISCLAIMER**
This e-mail and any files transmitted with it may be confidential and
are
intended solely for the use of the individual or entity to whom they are
addressed.   If you are not the intended recipient or the individual
responsible for delivering the e-mail to the intended recipient, any
disclosure, copying, distribution or any action taken or omitted to be
taken
in reliance on it, is strictly prohibited.  If you have received this
e-mail
in error, please delete it and notify the sender or contact Health
Information  Management (312) 996-3941.



Re: AIX Help

2001-05-10 Thread Ray

I use this in inittab:

autosrvr:2:once:/usr/tivoli/tsm/server/bin/rc.adsmserv >>/var/adsm/dsmserv.console 2>&1

It goes to a file rather than /dev/null...  Sometimes the server spits out
info that i'd want to see, especially at startup.  A tail -f on the
dsmserv.console file shows everything...

later!
Ray
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean   http://www.r-a-y.org
Systems Administrator   Southeastern Louisiana University
IBM Certified Specialist  AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: AIX Help

2001-05-10 Thread David Longo

I use this method to run from inittab.
This entry in inittab:

dsmsched:2:once:/etc/rc.dsmc >/dev/null 2>&1 #Start scheduler

Contents of /etc/rc.dsmc:
#!/usr/bin/ksh

# Start scheduler for regular FS incremental

/usr/tivoli/tsm/client/ba/bin/dsmc sched  &

Of course depends on your version of tivoli and where directories are.
I use this on AIX.



David B. Longo
System Administrator
Health First, Inc.
3300 Fiske Blvd.
Rockledge, FL 32955-4305
PH  321.434.5536
Pager  321.634.8230
Fax:321.434.5525
[EMAIL PROTECTED]


>>> [EMAIL PROTECTED] 05/09/01 06:13PM >>>
I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
4.3.3 machine and it works but every time I exit.  It says "There are jobs
running"  so I exit again and whe I check the dsmc sched process is not
running.  I thought the nohup command was suppose to let process run even
after you logout.  What am I doing wrong.

Thanks
***EMAIL  DISCLAIMER**
This e-mail and any files transmitted with it may be confidential and are
intended solely for the use of the individual or entity to whom they are
addressed.   If you are not the intended recipient or the individual
responsible for delivering the e-mail to the intended recipient, any
disclosure, copying, distribution or any action taken or omitted to be taken
in reliance on it, is strictly prohibited.  If you have received this e-mail
in error, please delete it and notify the sender or contact Health
Information  Management (312) 996-3941.



"MMS " made the following
 annotations on 05/10/01 10:30:06
--
This message is for the named person's use only.  It may contain confidential, 
proprietary, or legally privileged information.  No confidentiality or privilege is 
waived or lost by any mistransmission.  If you receive this message in error, please 
immediately delete it and all copies of it from your system, destroy any hard copies 
of it, and notify the sender.  You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient.  Health First reserves the right to monitor all e-mail communications 
through its networks.  Any views or opinions expressed in this message are solely 
those of the individual sender, except (1) where the message states such views or 
opinions are on behalf of a particular entity;  and (2) the sender is authorized by 
the entity to give such views or opinions.

==



Re: AIX Help

2001-05-09 Thread Ray Schafer

Another trick is to use the "at" command to run things unassociated with the
terminal:

print "dsmc sched 2>&1 >/dev/null" | at now


Robert Clark wrote:

> inittab shouldn't have the problem in the first place.
>
> And a way to work around the "nohup" problem is to not
> use ksh to run dsmc.
>
> (while in ksh)
> $bsh
> $nohup dsmc sched 2>&1 >/dev/null &
> $exit
> (now back in ksh)
>
> (Seems to work well.)
>
> [RC]
>
> On Wed, May 09, 2001 at 05:23:48PM -0700, Joe Faracchio wrote:
> > DING DING DING DING DING DING DING DING DING DING DING DING DING!
> > thanks Frank McClean , This worked!  (now can I get it into
> > INITTAB)
> >
> > As you said I did:
> >
> > %vi strtsched
> > "strtsched" [New file]
> > #!/bin/ksh
> > start_sched O
> > dsmc sched > /dev/null 2>&1 &
> > trap start_sched O
> > exit
> > ~
> > "strtsched" [New file] 5 lines, 79 characters
> >
> > root@ucbackup2-on-[/]
> > %chmod +x strtsched
> >
> > root@ucbackup2-on-[/]
> > %strtsched
> > strtsched[2]: start_sched:  not found.
> >
> > root@ucbackup2-on-[/]
> > %ps -ef|grep dsmc
> > root 17296 1   0 17:20:51  pts/1  0:00 dsmc sched
> > root 20032 18642   2 17:20:57  pts/1  0:00 grep dsmc
> >
> > Joseph A Faracchio, Systems Programmer, UC Berkeley
> >  Private mail on any topic should be directed to :
> >[EMAIL PROTECTED]
> >
> > On Wed, 9 May 2001, McClean, Frank wrote:
> >
> > > Put this in a file and execute the file as root:
> > >
> > > #!/bin/ksh
> > > start_sched O
> > > dsmc sched > /dev/null 2>&1 &
> > > trap start_sched O
> > > exit
> > >
> > >
> > > This is from Curt Schriever at IBM support. IC26843 for AIX4.3.3
> > > You may get a false error stating that "start_sched not found",
> > > but the scheduler will stay running when you exit.
> > >
> > >
> > > -Original Message-
> > > From: Dearman, Richard [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 09, 2001 3:14 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: AIX Help
> > >
> > >
> > > I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
> > > 4.3.3 machine and it works but every time I exit.  It says "There are jobs
> > > running"  so I exit again and whe I check the dsmc sched process is not
> > > running.  I thought the nohup command was suppose to let process run even
> > > after you logout.  What am I doing wrong.
> > >
> > > Thanks
> > > ***EMAIL  DISCLAIMER**
> > > This e-mail and any files transmitted with it may be confidential and are
> > > intended solely for the use of the individual or entity to whom they are
> > > addressed.   If you are not the intended recipient or the individual
> > > responsible for delivering the e-mail to the intended recipient, any
> > > disclosure, copying, distribution or any action taken or omitted to be taken
> > > in reliance on it, is strictly prohibited.  If you have received this e-mail
> > > in error, please delete it and notify the sender or contact Health
> > > Information  Management (312) 996-3941.
> > >


begin:vcard
n:Schafer;Ray
tel;cell:+1 (512) 426-3188
tel;fax:+1 (512) 433-3200
tel;work:+1 (512) 433-3345
x-mozilla-html:FALSE
url:http://www.tkg.com
org:The Kernel Group;Sales and Services
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Sales Engineer
adr;quoted-printable:;;1250 South Capital of Texas Highway=0D=0ABldg 3, Ste. 601;Austin;TX;78746;United States
fn:Ray Schafer
end:vcard



Re: AIX Help

2001-05-09 Thread Mustafa Baytar

tray this

(nohup /usr/tivoli/tsm/client/ba/bin/dsmc sched &)

or look at the  nohup.out file for error messages



"Chi, Hyeong"
<[EMAIL PROTECTED]To: [EMAIL PROTECTED]
OM>  cc: (bcc: MUSTAFA BAYTAR/ATIM/ICECEK)
Sent by:     Subject: Re: AIX Help
"ADSM: Dist
Stor Manager"
<[EMAIL PROTECTED]
RIST.EDU>


10.05.2001
01:17
Please
respond to
"ADSM: Dist
Stor Manager"






Off the "&".

> -Original Message-
> From: Dearman, Richard [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 6:14 PM
> To:   [EMAIL PROTECTED]
> Subject:  AIX Help
>
> I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
> 4.3.3 machine and it works but every time I exit.  It says "There are jobs
> running"  so I exit again and whe I check the dsmc sched process is not
> running.  I thought the nohup command was suppose to let process run even
> after you logout.  What am I doing wrong.
>
> Thanks
> ***EMAIL  DISCLAIMER**
> This e-mail and any files transmitted with it may be confidential and are
> intended solely for the use of the individual or entity to whom they are
> addressed.   If you are not the intended recipient or the individual
> responsible for delivering the e-mail to the intended recipient, any
> disclosure, copying, distribution or any action taken or omitted to be
> taken
> in reliance on it, is strictly prohibited.  If you have received this
> e-mail
> in error, please delete it and notify the sender or contact Health
> Information  Management (312) 996-3941.



Re: AIX Help

2001-05-09 Thread Robert Clark

inittab shouldn't have the problem in the first place.

And a way to work around the "nohup" problem is to not
use ksh to run dsmc.

(while in ksh)
$bsh
$nohup dsmc sched 2>&1 >/dev/null &
$exit
(now back in ksh)

(Seems to work well.)

[RC]

On Wed, May 09, 2001 at 05:23:48PM -0700, Joe Faracchio wrote:
> DING DING DING DING DING DING DING DING DING DING DING DING DING!
> thanks Frank McClean , This worked!  (now can I get it into
> INITTAB)
>
> As you said I did:
>
> %vi strtsched
> "strtsched" [New file]
> #!/bin/ksh
> start_sched O
> dsmc sched > /dev/null 2>&1 &
> trap start_sched O
> exit
> ~
> "strtsched" [New file] 5 lines, 79 characters
>
> root@ucbackup2-on-[/]
> %chmod +x strtsched
>
> root@ucbackup2-on-[/]
> %strtsched
> strtsched[2]: start_sched:  not found.
>
> root@ucbackup2-on-[/]
> %ps -ef|grep dsmc
> root 17296 1   0 17:20:51  pts/1  0:00 dsmc sched
> root 20032 18642   2 17:20:57  pts/1  0:00 grep dsmc
>
> Joseph A Faracchio, Systems Programmer, UC Berkeley
>  Private mail on any topic should be directed to :
>[EMAIL PROTECTED]
>
> On Wed, 9 May 2001, McClean, Frank wrote:
>
> > Put this in a file and execute the file as root:
> >
> > #!/bin/ksh
> > start_sched O
> > dsmc sched > /dev/null 2>&1 &
> > trap start_sched O
> > exit
> >
> >
> > This is from Curt Schriever at IBM support. IC26843 for AIX4.3.3
> > You may get a false error stating that "start_sched not found",
> > but the scheduler will stay running when you exit.
> >
> >
> > -Original Message-
> > From: Dearman, Richard [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 09, 2001 3:14 PM
> > To: [EMAIL PROTECTED]
> > Subject: AIX Help
> >
> >
> > I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
> > 4.3.3 machine and it works but every time I exit.  It says "There are jobs
> > running"  so I exit again and whe I check the dsmc sched process is not
> > running.  I thought the nohup command was suppose to let process run even
> > after you logout.  What am I doing wrong.
> >
> > Thanks
> > ***EMAIL  DISCLAIMER**
> > This e-mail and any files transmitted with it may be confidential and are
> > intended solely for the use of the individual or entity to whom they are
> > addressed.   If you are not the intended recipient or the individual
> > responsible for delivering the e-mail to the intended recipient, any
> > disclosure, copying, distribution or any action taken or omitted to be taken
> > in reliance on it, is strictly prohibited.  If you have received this e-mail
> > in error, please delete it and notify the sender or contact Health
> > Information  Management (312) 996-3941.
> >



Re: AIX Help

2001-05-09 Thread Joe Faracchio

DING DING DING DING DING DING DING DING DING DING DING DING DING!
thanks Frank McClean , This worked!  (now can I get it into
INITTAB)

As you said I did:

%vi strtsched
"strtsched" [New file]
#!/bin/ksh
start_sched O
dsmc sched > /dev/null 2>&1 &
trap start_sched O
exit
~
"strtsched" [New file] 5 lines, 79 characters

root@ucbackup2-on-[/]
%chmod +x strtsched

root@ucbackup2-on-[/]
%strtsched
strtsched[2]: start_sched:  not found.

root@ucbackup2-on-[/]
%ps -ef|grep dsmc
root 17296 1   0 17:20:51  pts/1  0:00 dsmc sched
root 20032 18642   2 17:20:57  pts/1  0:00 grep dsmc

Joseph A Faracchio, Systems Programmer, UC Berkeley
 Private mail on any topic should be directed to :
   [EMAIL PROTECTED]

On Wed, 9 May 2001, McClean, Frank wrote:

> Put this in a file and execute the file as root:
>
> #!/bin/ksh
> start_sched O
> dsmc sched > /dev/null 2>&1 &
> trap start_sched O
> exit
>
>
> This is from Curt Schriever at IBM support. IC26843 for AIX4.3.3
> You may get a false error stating that "start_sched not found",
> but the scheduler will stay running when you exit.
>
>
> -Original Message-
> From: Dearman, Richard [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 3:14 PM
> To: [EMAIL PROTECTED]
> Subject: AIX Help
>
>
> I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
> 4.3.3 machine and it works but every time I exit.  It says "There are jobs
> running"  so I exit again and whe I check the dsmc sched process is not
> running.  I thought the nohup command was suppose to let process run even
> after you logout.  What am I doing wrong.
>
> Thanks
> ***EMAIL  DISCLAIMER**
> This e-mail and any files transmitted with it may be confidential and are
> intended solely for the use of the individual or entity to whom they are
> addressed.   If you are not the intended recipient or the individual
> responsible for delivering the e-mail to the intended recipient, any
> disclosure, copying, distribution or any action taken or omitted to be taken
> in reliance on it, is strictly prohibited.  If you have received this e-mail
> in error, please delete it and notify the sender or contact Health
> Information  Management (312) 996-3941.
>



Re: AIX Help

2001-05-09 Thread McClean, Frank

Put this in a file and execute the file as root:

#!/bin/ksh
start_sched O
dsmc sched > /dev/null 2>&1 &
trap start_sched O
exit


This is from Curt Schriever at IBM support. IC26843 for AIX4.3.3
You may get a false error stating that "start_sched not found",
but the scheduler will stay running when you exit.


-Original Message-
From: Dearman, Richard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 3:14 PM
To: [EMAIL PROTECTED]
Subject: AIX Help


I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
4.3.3 machine and it works but every time I exit.  It says "There are jobs
running"  so I exit again and whe I check the dsmc sched process is not
running.  I thought the nohup command was suppose to let process run even
after you logout.  What am I doing wrong.

Thanks
***EMAIL  DISCLAIMER**
This e-mail and any files transmitted with it may be confidential and are
intended solely for the use of the individual or entity to whom they are
addressed.   If you are not the intended recipient or the individual
responsible for delivering the e-mail to the intended recipient, any
disclosure, copying, distribution or any action taken or omitted to be taken
in reliance on it, is strictly prohibited.  If you have received this e-mail
in error, please delete it and notify the sender or contact Health
Information  Management (312) 996-3941.



Re: AIX Help

2001-05-09 Thread Ray

On Wed, 9 May 2001, Dearman, Richard wrote:

> I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
> 4.3.3 machine and it works but every time I exit.  It says "There are jobs
> running"  so I exit again and whe I check the dsmc sched process is not
> running.  I thought the nohup command was suppose to let process run even
> after you logout.  What am I doing wrong.

I've had ksh do this to me.  nohup simply tells the process to ignore
SIGHUP signals, i don't think it has any say in what your shell lets you
do.

I worked around it by starting an sh subshell (i know it's still ksh...but
it works).  Just type sh, then run your nohup command, then exit.
You're returned to the original shell but the jobs stays running...now you
can logout.

later!
Ray
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean   http://www.r-a-y.org
Systems Administrator   Southeastern Louisiana University
IBM Certified Specialist  AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: AIX Help

2001-05-09 Thread Alex Paschal

Richard, from your command, I see you're redirecting your standard error.
I've seen instances where a nohupped process would die if standard out
wasn't redirected.  You might try

nohup dsmc sched >/dev/null 2>&1 &

Alex

-Original Message-
From: Dearman, Richard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 3:14 PM
To: [EMAIL PROTECTED]
Subject: AIX Help


I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
4.3.3 machine and it works but every time I exit.  It says "There are jobs
running"  so I exit again and whe I check the dsmc sched process is not
running.  I thought the nohup command was suppose to let process run even
after you logout.  What am I doing wrong.

Thanks
***EMAIL  DISCLAIMER**
This e-mail and any files transmitted with it may be confidential and are
intended solely for the use of the individual or entity to whom they are
addressed.   If you are not the intended recipient or the individual
responsible for delivering the e-mail to the intended recipient, any
disclosure, copying, distribution or any action taken or omitted to be taken
in reliance on it, is strictly prohibited.  If you have received this e-mail
in error, please delete it and notify the sender or contact Health
Information  Management (312) 996-3941.



Re: AIX Help

2001-05-09 Thread Chi, Hyeong

Off the "&".

> -Original Message-
> From: Dearman, Richard [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 6:14 PM
> To:   [EMAIL PROTECTED]
> Subject:  AIX Help
>
> I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
> 4.3.3 machine and it works but every time I exit.  It says "There are jobs
> running"  so I exit again and whe I check the dsmc sched process is not
> running.  I thought the nohup command was suppose to let process run even
> after you logout.  What am I doing wrong.
>
> Thanks
> ***EMAIL  DISCLAIMER**
> This e-mail and any files transmitted with it may be confidential and are
> intended solely for the use of the individual or entity to whom they are
> addressed.   If you are not the intended recipient or the individual
> responsible for delivering the e-mail to the intended recipient, any
> disclosure, copying, distribution or any action taken or omitted to be
> taken
> in reliance on it, is strictly prohibited.  If you have received this
> e-mail
> in error, please delete it and notify the sender or contact Health
> Information  Management (312) 996-3941.



Re: AIX Help

2001-05-09 Thread John Marquart

I have had that issue under certain shells (i believe perhaps ksh) - it
seems to work fine for me under csh though.  perhaps this is what is
affecting you.

though - there was a recent discussion here about a more "proper" way to
do it - which would be to modify your inittab entry

i.e.:

lsitab dsmsched
chitab dsmsched dsmsched:2:respawn:/usr/tivoli/tsm/client/ba/bin/dsmc \
schedule > /dev/null 2>&1

give it a few moments to respawn

then another chitab to return respawn to once.


(NOTE - personally - i can't seem to get it to work in this fashion - but
i believe that it is the preferred method.)

-j

On Wed, 9 May 2001, Dearman, Richard wrote:

> I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
> 4.3.3 machine and it works but every time I exit.  It says "There are jobs
> running"  so I exit again and whe I check the dsmc sched process is not
> running.  I thought the nohup command was suppose to let process run even
> after you logout.  What am I doing wrong.
>
> Thanks
> ***EMAIL  DISCLAIMER**
> This e-mail and any files transmitted with it may be confidential and are
> intended solely for the use of the individual or entity to whom they are
> addressed.   If you are not the intended recipient or the individual
> responsible for delivering the e-mail to the intended recipient, any
> disclosure, copying, distribution or any action taken or omitted to be taken
> in reliance on it, is strictly prohibited.  If you have received this e-mail
> in error, please delete it and notify the sender or contact Health
> Information  Management (312) 996-3941.
>


John "Jamie" Marquart   | This message posted 100% MS free.
Digital Library SysAdmin|  Work: 812-856-5174   Pager: 812-334-6018
Indiana University Libraries|  ICQ: 1131494 D'net Team:  6265



AIX Help

2001-05-09 Thread Dearman, Richard

I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
4.3.3 machine and it works but every time I exit.  It says "There are jobs
running"  so I exit again and whe I check the dsmc sched process is not
running.  I thought the nohup command was suppose to let process run even
after you logout.  What am I doing wrong.

Thanks
***EMAIL  DISCLAIMER**
This e-mail and any files transmitted with it may be confidential and are
intended solely for the use of the individual or entity to whom they are
addressed.   If you are not the intended recipient or the individual
responsible for delivering the e-mail to the intended recipient, any
disclosure, copying, distribution or any action taken or omitted to be taken
in reliance on it, is strictly prohibited.  If you have received this e-mail
in error, please delete it and notify the sender or contact Health
Information  Management (312) 996-3941.