Sponsored Content
Top Forums UNIX for Dummies Questions & Answers df and du command showing different results Post 302325367 by jlliagre on Monday 15th of June 2009 01:26:23 AM
Old 06-15-2009
A process is a running program.

In windows, you indeed can't delete a file being accessed, which is a major design issue in my opinion. This is one of the reasons why you need to reboot windows that much after administrative actions with which Unix would have stayed up.

Under Unix, you can delete a file being accessed. This file disappears from the directory so its content become unreachable. However, the programs that have it open at the deletion time can still read and write data to it until they die and the space is actually freed.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Command for showing IP Address

Hi everyone, nice forum! I need to know if there's a command that will show the IP Address of the machine you are logged into. Eg when you type hostname it returns the name of the machine, I need one that returns the IP address only. Can anyone help or suggest commands that are almost what I... (7 Replies)
Discussion started by: danhodges99
7 Replies

2. UNIX for Dummies Questions & Answers

ls command showing skewed listing

Hello, I'm running the ls command on an HP-UX 11i platform and am getting skewed listings. In other words, I see 3 columns of perfectly aligned file names, except 1 file is shifted by 2 or 3 bytes. The file to the immediate left of it seems to be causing the problem, for when I do an ls on... (1 Reply)
Discussion started by: bsp18974
1 Replies

3. UNIX and Linux Applications

The ps command - process showing up even after application is shut down

Hi all, I'm very new to unix, I'm developing an application in Java, part of which requires me to check if a certain application is still running. In windows, I just use tasklist - if the application has been shut down it won't appear in the task list. I've been trying to use the ps command to... (0 Replies)
Discussion started by: ekatmcg
0 Replies

4. Solaris

uptime command not showing how long the system has been up

Hello folks, uptime command not shows how long the system has been up. I know it come from a corruption of /var/adm/utmpx file. I've done : cat /dev/null > /var/adm/utmpx Now who and last commands work fine. But uptime still give me back an answer without the "up time". In which... (6 Replies)
Discussion started by: gogol_bordello
6 Replies

5. Shell Programming and Scripting

command showing error

Hi, I have an command which find the files modified within last 8 days and then after selecting the files from the location it make the tar format and send it to the specified destination ...now I want that this task to be automative ..that is it should happen after every 5 minutes ...for that... (3 Replies)
Discussion started by: NARESH SAXENA
3 Replies

6. Solaris

PSR showing - in ps command

Hello, running into a bind when im inputting the following command: bash-3.00$ ps -p 874 -L -o pid,psr,pcpu PID PSR %CPU 874 - 0.0 874 - 0.2 874 - 0.0 874 - 1.1 874 - 0.2 Now when i run it on my other SUN machine i get this: bash-3.00$ ps -p 3874... (0 Replies)
Discussion started by: Nolph
0 Replies

7. Shell Programming and Scripting

ps command showing full code of running script

Hi, I have a script running while rsync command is fired to push some files. The output of rsync cmd has been redirected to the script which is used to generate log files containing progress info with formatting. when I enter ps -ef | grep rsync it shows the full scripting code on the cmd line... (2 Replies)
Discussion started by: rajeevra
2 Replies

8. Shell Programming and Scripting

Ps command showing different states for same process

I am using HP-UX,KSH $ jobs -l + 19377 Running nohup ksh cat_Duplicate_Records_Removal.ksh </dev/null >/dev/null 2>&1 & $ ps -p 19377 -fl F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD 401 S catmgr 19377 19491 ... (1 Reply)
Discussion started by: TomG
1 Replies

9. Shell Programming and Scripting

Time field showing Zero in ps command output

F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD 401 S catmgr 5748 5742 0 154 20 e0000006d48cd080 133 e0000003fb6e7200 11:22:32 ? 0:00 /opt/ssh/libexec/sftp-server 3401 R catmgr 5742 5631 0 152 20 e0000005f974fa00 750 ... (4 Replies)
Discussion started by: TomG
4 Replies

10. UNIX for Dummies Questions & Answers

Command showing no output!

Hi Folks, I have a situation here, where no command is giving any output, and it's not even showing any error message also. What could be the reason? (3 Replies)
Discussion started by: nixhead
3 Replies
asadmin-delete-authdb(1AS)					   User Commands					asadmin-delete-authdb(1AS)

NAME
delete-authdb - removes the authorized database SYNOPSIS
delete-authdb --user admin_user[--password admin_password][--host localhost] [--port 4848][--passwordfile filename][--secure|-s][--instance instance_name] --virtualserver virtualserver_ID authdb_ID Removes the authorized database associated with the named server instance. OPTIONS
--user administrative user associated for the instance. --password administrative password corresponding to the administrative user. --host host name of the machine hosting the administrative instance. --port administrative port number associated with the administrative host. --passwordfile file containing passwords appropriate for the command (e.g., administrative instance). --secure if true, uses SSL/TLS to communicate with the administrative instance. --instance name of the instance. --virtualserver virtual server ID. It can also be referred to as the variable $id in an obj.conf file. A virtual server ID cannot begin with a number. OPERANDS
authdb_id user database name in the virtual server's ACL file. Example 1: Using delete-authdb asadmin> delete-authdb --user admin --password adminadmin --host fuyako --port 7070 --instance server1 --virtualserver server1 sampleAuth Deleted AuthDB with id = sampleAuth Where: sampleAuth is the authdb deleted. EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-create-authdb(1AS), asadmin-list-authdbs(1AS) J2EE 1.4 SDK March 2004 asadmin-delete-authdb(1AS)
All times are GMT -4. The time now is 05:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy