06-06-2010
Thanks Jim,
I will give it a shot.
Andy
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi!,
is there any way to retrieve a file that I have deleted few minutes back?? I am using Solaris- 5.6..
:rolleyes: (2 Replies)
Discussion started by: jyotipg
2 Replies
2. Shell Programming and Scripting
Hi,
I'm a begginer in Unix Scripting and i'm trying to write a script that performs this functions..
1. Rlogin to a system
2. Copy a Perl script inTO the system
3. Run the Perl Script
4. Retrieve the result(file) of the Perl Script
5. Copy the result file to a single system
6. Logout of... (3 Replies)
Discussion started by: vicesjr
3 Replies
3. UNIX for Dummies Questions & Answers
Hello
I need to retrieve the content of a file in the shell script file(.sh file).
I store the Process ID of the a process in file.Only the PID is available in that file.
Inside the shell script i want to retireve the content(PID) and need to check for the existence of the Process.Basically... (5 Replies)
Discussion started by: appleforme1415
5 Replies
4. UNIX for Dummies Questions & Answers
Hi one and all,
I'm working on a Bash script that is designed to calculate how much IP traffic has passed through a port to determine traffic volume over a given amount of time.
I've currently been able to use the netstat -s command coupled with grep to write to a file the total packets... (13 Replies)
Discussion started by: nistleloy
13 Replies
5. Shell Programming and Scripting
Alright, so I am trying to use perl (or any other shell scripting language, awk/sed/bash for instance), to retrieve the mime-type of a file.
I want to keep it in one file, and most of the modules that are on cpan that check for mime types (Magic), aren't installed on these boxes.
Anyone have... (2 Replies)
Discussion started by: Rhije
2 Replies
6. UNIX for Dummies Questions & Answers
Hi..
I have a dat file containing both column names and data. Now I want to get only Particular row along with the column names.
My dat fiel is as below
EmpName Dept Salary
Shally Admin 20000
Swati HR 15000
Deepali IT 45000
Preetika EEE 60000
Now I want to display only row 3rd along... (5 Replies)
Discussion started by: Mayuri P R
5 Replies
7. UNIX for Advanced & Expert Users
Hi Gurus,
The requirement is to collect the timestamp of soft links and collect it in a file in the following pattern:
This is the expected output:
Pattern:
MM/DD/YYYY hh:mi:ss filename
Example:
12/26/2008 10:31:09 <Filename>.zip
The closest way I could get was this:
ls... (8 Replies)
Discussion started by: jidsh
8 Replies
8. UNIX and Linux Applications
I am initiating the discussion.Hope everyone will add on to this.
Whenever any application crashes the system's crash reporter(/System/Library/CoreServices/Crash Reporter.app) creates a crash dump.A crash dump is the image of the state of the kernel that was in physical memory when the system... (0 Replies)
Discussion started by: elizas
0 Replies
9. Shell Programming and Scripting
Hi All..
I have a Filename as
FAB1_600015_CONRAD.A0_7XYZ12345.000_LT-SWET.01_LTPA25L_20110622-161429_07_WFR12345_20110622-161429_20110712-125228.data.dis
I want to get the result as... (5 Replies)
Discussion started by: asheshrocky
5 Replies
10. Shell Programming and Scripting
Hello experts :cool:,
I am new to programming and will need your help.. I have 2 very large files with the following format:
FILE1:
>MLP1019 PL4
>MLP7456 PL3
>MLP9268 PL9
>MLP6245 PL1
FILE2:
>MLP1019
STNAPLQTSNTWVSYQPSMMMSLQ
>MLP7456
PPYWYWNSAVMIFYVQPLSLLAVLLA
>MLP9268... (2 Replies)
Discussion started by: narachaid
2 Replies
LEARN ABOUT DEBIAN
test::memory::cycle
Cycle(3pm) User Contributed Perl Documentation Cycle(3pm)
NAME
Test::Memory::Cycle - Check for memory leaks and circular memory references
VERSION
Version 1.04
SYNOPSIS
Perl's garbage collection has one big problem: Circular references can't get cleaned up. A circular reference can be as simple as two
reference that refer to each other:
my $mom = {
name => "Marilyn Lester",
};
my $me = {
name => "Andy Lester",
mother => $mom,
};
$mom->{son} = $me;
"Test::Memory::Cycle" is built on top of "Devel::Cycle" to give you an easy way to check for these circular references.
use Test::Memory::Cycle;
my $object = new MyObject;
# Do stuff with the object.
memory_cycle_ok( $object );
You can also use "memory_cycle_exists()" to make sure that you have a cycle where you expect to have one.
FUNCTIONS
"memory_cycle_ok( $reference, $msg )"
Checks that $reference doesn't have any circular memory references.
"memory_cycle_exists( $reference, $msg )"
Checks that $reference does have any circular memory references.
"weakened_memory_cycle_ok( $reference, $msg )"
Checks that $reference doesn't have any circular memory references, but unlike "memory_cycle_ok" this will also check for weakened cycles
produced with Scalar::Util's "weaken".
"weakened_memory_cycle_exists( $reference, $msg )"
Checks that $reference does have any circular memory references, but unlike "memory_cycle_exists" this will also check for weakened cycles
produced with Scalar::Util's "weaken".
AUTHOR
Written by Andy Lester, "<andy @ petdance.com>".
BUGS
Please report any bugs or feature requests to "bug-test-memory-cycle at rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Memory-Cycle>. I will be notified, and then you'll automatically be notified of
progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Test::Memory::Cycle
You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/Test-Memory-Cycle>
o CPAN Ratings
<http://cpanratings.perl.org/d/Test-Memory-Cycle>
o RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Memory-Cycle>
o Search CPAN
<http://search.cpan.org/dist/Test-Memory-Cycle>
ACKNOWLEDGEMENTS
Thanks to the contributions of Stevan Little, and to Lincoln Stein for writing Devel::Cycle.
COPYRIGHT
Copyright 2006, Andy Lester, All Rights Reserved.
You may use, modify, and distribute this package under the same terms as Perl itself.
perl v5.10.0 2006-08-07 Cycle(3pm)