That's what I thought, it was a little messy. I found a work around though; I check the restored contents for the child directory that I'm expecting and "cd" if necessary.
Thanks for the feedback.
Ethan
Does anyone know if it's possible to list the first N items of a tape using cpio -t? Depending on the day of the backup the relative path may be "/" down versus "/docs".
It would be great to list the first 10 items without spinning through the entire tape. Also, I'd like to script this, so...
Thanks Tempest. With your suggestions I get the same results as posted in the output above.
I also forgot to mention that this user is logged in everyday they are working since they are support staff on the system. We run lsuser against all users, on weekly basis to audit for inactive users...
Can someone explain why there is a difference in the lsuser output below?
Using ALL:
lsuser -a id gecos account_locked time_last_login ALL | grep fred
output:
fred id=2200 gecos=Fred Michaels account_locked=false
Using Username:
lsuser -a id gecos account_locked time_last_login fred
output...
Thanks Khalidaaa, yes, the filesystem is jfs2. I'm trying to tar up a 50GB directory structure in a cron job, but I want to allow that 2GB restriction to be lifted off the destination filesystem.
Ethan
Does anyone know if it's possible to allow a user or process to create files greater than 2GB on a particular file system? I have an fs that I'd like to create sizable tar file on, but I don't want to exceed the 2GB limit on my other file systems. It might not even be possible. I am running...
Hey Everyone,
I am working on developing a script to copy data from one system to another across our gig backbone, and I thought I'd ask to see if anyone had a preferred method of accomplishing a task like this.
Options I've considered:
mount nfs filesystem and copy data over and umount the...
I recently saw something like this in a stylesheet link tag:
<link rel="stylesheet" href="/css/marketer.css[highlight #ffcc99]?spts=20080307-1055[/highlight]" type="text/css" />
What is the purpose of the highlighted text? It looks like a time stamp being sent, but I've never seen a...
You could double check that the service is LISTENING using the command "netstat -an | grep LISTEN" and verify the expected entry is listed.
To verify connectivity, you could use tcpdump on the server:
tcpdump -nn -i $ETH port $SERVERPORT and host $CLIENT-IP
06:38:00.552795 IP $CLIENT-IP.2749...
I know what your saying...why are you using ftp when scp is so readily available. Well, let's just say it's politics. Anyway, today we rebooted our system and have noticed a problem with ftp clients listing contents when connected to the ftp service. If running a "dir" from the command line...
Something like this should work for you.
my $ssh = Net::SSH::Perl->new($host, debug => 1);
or
%params = {
port => 22,
protocol => 2,
debug => 1
}
my $ssh = Net::SSH:Perl->new($host, %params);
Ethan
Hey Everyone,
Does anyone know if there is a configuration file that controls the SMIT dialogs for "Default Print Job Attributes." I am suspecting the answer resides in files located /var/spool/lpd/pio/@local/smit/, but I am not sure.
On our previous system, we could see other attributes...
I see that now in the man page. I must have mistyped the time stamp when testing your command since it had created a file with the name 0101*.
I stand corrected :), I missed a zero.
Ethan
if ($? == 0 )
{
&log_msg(" Search Process successfully terminated by $jobname.");
} else {
&log_msg(" Jobs may not be terminated. Kill returned $?.");
}
Nothing is logged because there is no else clause to handle the return value from the "kill" command when the value is not 0.
Quick question, does the user running the kill script have the necessary credentials to kill processes of other users or is hrdw_search.pl ran by the same user?
Secondly, you may want to flush out an else statement for the if ($? == 0 ) block to see if the return value from the kill command...
Hey,
I would say you wouldn't install SAMBA services on a Windows host to share file systems, but maybe I am misunderstanding the question. I checked samba.org and didn't see a distribution for Win32 nor does the Cygwin project have a port for it.
But, SAMBA certainly provides the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.