Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory mv files still in use - space not freed Post 302156675 by apra143 on Tuesday 8th of January 2008 06:38:23 PM
Old 01-08-2008
Quote:
Originally Posted by Perderabo
A file will no link to a directory will be removed upon the last close.
Is that why I could not see the listener.log.old.gz file when I logged in to check?
If it is removed, then why isn't the space freed?

Thanks for the info btw.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

when I try to run rm on multiple files I have problem to delete files with space

Hello when I try to run rm on multiple files I have problem to delete files with space. I have this command : find . -name "*.cmd" | xargs \rm -f it doing the work fine but when it comes across files with spaces like : "my foo file.cmd" it refuse to delete it why? (1 Reply)
Discussion started by: umen
1 Replies

2. UNIX for Dummies Questions & Answers

Space problem in files

Hi, I have a file containing a list of entries. Want to do ls on them. for a in `cat <list.txt>`; do ls $a; done; Now some entries contain spaces. How do i incorporate space in $a. Quoting $a in "" doesn't help. Thanks (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies

3. UNIX for Dummies Questions & Answers

Multiple Files Renaming with space

Hi, I need help how to renaming multiple file. The original file look like this; Test Monday.txt Test Wednesday.txt Test July.txt I have more than hundred file in the directory. How i want to rename all file to a new file name in one time? The new file maybe the same name e.g.... (13 Replies)
Discussion started by: nazri76
13 Replies

4. Solaris

Memory usage in Solaris - memory not freed?

Hi, I'm running a multi-process software system on a Solaris 8 machine. When I monitor the memory usage, I see that the free memory is dropping rapidly, but I can't detect a process that uses this memory. I'm using "top" to get the free memory and the memory usage of processes. Thanks. (3 Replies)
Discussion started by: gewurtz
3 Replies

5. Programming

Why memory allocated through malloc should be freed ?

Actually for a process to run it needs text, stack , heap and data segments. All these find a place in the physical memory. Out of these 4 only heap does exist after the termination of the process that created it. I want to know the exact reason why this happens. Also why the other process need to... (20 Replies)
Discussion started by: karthiktceit
20 Replies

6. UNIX for Dummies Questions & Answers

Three space delimited files

So I have three space delimited files. Each have 90 rows and many columns. I want to merge them by columns. I use paste to merge file 1 and file2 or file 3 and it works. But when I try to merge file 2 and file 3 using paste or merge or cat, I cannot merge them by column, instead they are merged by... (11 Replies)
Discussion started by: evelibertine
11 Replies

7. UNIX for Dummies Questions & Answers

Space utilization for group of files

Hi Is there an easy was to list a group of file (*.txt) and report how much disk space they are using in total? Cheers (2 Replies)
Discussion started by: Grueben
2 Replies

8. Linux

About shrinking LVM and then adding the freed space to another OS on dualboot system

Hi all, Fedora 17, 64bit Ubuntu 12.04 desktop 64bit HD 160G I installed Ubuntu 12.04 on the HD first taking up the whole disc. Later I added/installed Fedora 17 selecting the "Shrink" option and save the bootloader on /dev/sda1 to make them dualboot. Installation is successful with... (0 Replies)
Discussion started by: satimis
0 Replies

9. HP-UX

Files consuming more space in HP-UX

Hi, Could you please provide OS command to find large files in size MB and GB... under specific directory in HP-UX? Regards, Maddy (4 Replies)
Discussion started by: Maddy123
4 Replies

10. UNIX for Beginners Questions & Answers

Safe way to shrink lvm vg_*-lv_swap partition and reclaim freed space on Linux?

Hello, # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom sda 8:0 0 38.2G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 8:2 ... (2 Replies)
Discussion started by: centosadmin
2 Replies
EVENTLISTENER(3)							 1							  EVENTLISTENER(3)

The EventListener class

INTRODUCTION
Represents a connection listener. CLASS SYNOPSIS
EventListener final EventListener Constants o const integer$EventListener::OPT_LEAVE_SOCKETS_BLOCKING1 o const integer$EventListener::OPT_CLOSE_ON_FREE2 o const integer$EventListener::OPT_CLOSE_ON_EXEC4 o const integer$EventListener::OPT_REUSEABLE8 o const integer$EventListener::OPT_THREADSAFE16 Properties o publicreadonly int$fd Methods o public EventListener::__construct (EventBase $base, callable $cb, mixed $data, int $flags, int $backlog, mixed $target) o public bool EventListener::disable (void ) o public bool EventListener::enable (void ) o public void EventListener::getBase (void ) o publicstatic bool EventListener::getSocketName (string &$address, [mixed &$port]) o public void EventListener::setCallback NULL (callable $cb, [mixed $arg]) o public void EventListener::setErrorCallback (string $cb) PROPERTIES
o $fd - Numeric file descriptor of the underlying socket. (Added in event-1.6.0 .) PREDEFINED CONSTANTS
o EventListener::OPT_LEAVE_SOCKETS_BLOCKING - By default Libevent turns underlying file descriptors, or sockets, to non-blocking mode. This flag tells to leave them non-blocking. o EventListener::OPT_CLOSE_ON_FREE - If this option is set, the connection listener closes its underlying socket when the EventLis- tener object is freed. o EventListener::OPT_CLOSE_ON_EXEC - If this option is set, the connection listener sets the close-on-exec flag on the underlying listener socket. See platform documentation for fcntl and FD_CLOEXEC for more information. o EventListener::OPT_REUSEABLE - By default on some platforms, once a listener socket is closed, no other socket can bind to the same port until a while has passed. Setting this option makes Libevent mark the socket as reusable, so that once it is closed, another socket can be opened to listen on the same port. o EventListener::OPT_THREADSAFE - Allocate locks for the listener, so that it's safe to use it from multiple threads. PHP Documentation Group EVENTLISTENER(3)
All times are GMT -4. The time now is 09:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy