06-28-2012
Please present the problem and context as well as your suggested solution.
My uninformed guess is a disc space issue.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a UNIX daemon process that's been started by a parent process, an application server.
The behavior of this daemon process is to inherit and use the app
server's file descriptors (ports/sockets).
When I shutdown the app server, the daemon continues to run, because there may be other... (1 Reply)
Discussion started by: kunalashar
1 Replies
2. UNIX for Dummies Questions & Answers
What is a file descriptor in Unix??
How to find a file descriptor of a file in Unix??
Does it have anything to do with the Inode numbers?? (3 Replies)
Discussion started by: rahulrathod
3 Replies
3. UNIX for Dummies Questions & Answers
Hi
I was working on a shell script with randomly shows a page of text from a randomly selected topic .As soon as the page is displayed it callers a timer script which keeps on running indefinitely until the timer script is killed by the user.
This is where I have the problem,if I press... (2 Replies)
Discussion started by: mervin2006
2 Replies
4. Shell Programming and Scripting
Hi all , i know i ask a lot of question but these are really hard to solve and important question. I send two scripts:
expect.sh:
#!/usr/local/bin/expect
spawn ssh root@172.30.64.163
expect "login:"
send "root\n"
expect "password:"
send "root\n^M"
interact
and
son.sh:
... (2 Replies)
Discussion started by: fozay
2 Replies
5. Solaris
Hi
want to know what file (descriptor+filename+socket) is being accessed by particular process on solaris.
Purpose : while running perf. test, needs to find where is the bottleneck.
We are providing concurrnet load for around 1 hr and needs to capture data related to file usage pattern... (1 Reply)
Discussion started by: raxitsheth
1 Replies
6. Shell Programming and Scripting
Hi. !
When I use the 'NOHUP' along with the '&', the process will be running in the background. Even when I attempt to close (Meaning 'EXIT') the session (say PUTTY in this case), it wont exit unless the process is completed.
But, say when I forcefully terminate the session (SHUT DOWN the... (2 Replies)
Discussion started by: WinBarani
2 Replies
7. Programming
can someone provide an example, where if the parent process quits for any reason, then the child process will also close? (3 Replies)
Discussion started by: omega666
3 Replies
8. AIX
Hi,
How to release file description area from specified process.
Problem is that process started - open one file ( ~2GB ) - file has been removed - process still shown that file is used by process and can't release space on filesystem.
It is not allowable to kill process !!!
Regs,... (3 Replies)
Discussion started by: KrzysiekPi
3 Replies
9. UNIX for Advanced & Expert Users
is it possible to duplicate file descriptors(opened by a different process) with the help of dup or dup2. the two process do not share parent child relationship as well. (2 Replies)
Discussion started by: replytoshishir
2 Replies
10. Shell Programming and Scripting
Hi Folks -
I am building a process to kill a list of services. Sometimes, there's a service that hangs therefore I need to add an additionla peice of code to kill all instances of a service if it exists.
Here is that portion of code:
echo... (10 Replies)
Discussion started by: SIMMS7400
10 Replies
LEARN ABOUT DEBIAN
cddb::file
CDDB::File(3pm) User Contributed Perl Documentation CDDB::File(3pm)
NAME
CDDB::File - Parse a CDDB/freedb data file
SYNOPSIS
my $disc = CDDB::File->new("rock/f4109511");
print $disc->id, $disc->all_ids;
print $disc->artist, $disc->title;
print $disc->year, $disc->genre, $disc->extd;
print $disc->length, $disc->track_count;
print $disc->revision, $disc->submitted_via, $disc->processed_by;
foreach my $track ($disc->tracks) {
print $track->number, $track->title, $track->artist;
print $track->length, $track->extd;
}
DESCRIPTION
This module provides an interface for extracting data from CDDB-format data files, as used by freedb.
It does not read data from your CD, or submit information to freedb.
METHODS
new
my $disc = CDDB::File->new("rock/f4109511");
This will create a new object representing the data in the file name specified.
id / all_ids
my $discid = $disc->id;
my @discid = $disc->all_ids;
Due to how freedb works, one CD may have several IDs associated with it. 'id' will return the first of these (not necessarily related to
the filename from which this was read), whilst 'all_ids' will return all of them.
title / artist
The title and artist of this CD. For eponymous CDs these will be identical, even if the data file leaves the artist field blank.
year
The (4-digit) year of release.
genre
The genre of this CD. This is the genre as stored in the data file itself, which is not related to the 11 main freedb genres.
extd
The "extended data" for the CD. This is used for storing miscellaneous information which has no better storage place, and can be of any
length.
length
The run time of the CD in seconds.
track_count
The number of tracks on the CD.
revision
Each time information regarding the CD is updated this revision number is incremented. This returns the revision number of this version.
processed_by / submitted_via
The software which submitted this information to freedb and which processed it at the other end.
tracks
foreach my $track ($disc->tracks) {
print $track->number, $track->title, $track->artist;
print $track->length, $track->extd;
}
Returns a list of Track objects, each of which knows its number (numering from 1), title, length (in seconds), offset, and may also have
extended track data.
Tracks may also contain an 'artist' field. If this is not set the artist method will return the artist of the CD.
SEE ALSO
http://www.freedb.org/
AUTHOR
Tony Bowden
BUGS and QUERIES
Please direct all correspondence regarding this module to:
bug-CDDB-File@rt.cpan.org
COPYRIGHT
Copyright (C) 2001-2005 Tony Bowden. All rights reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License; either version 2 of the License,
or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.
perl v5.10.1 2005-10-04 CDDB::File(3pm)