Sponsored Content
Top Forums UNIX for Dummies Questions & Answers differentiate between a file and a device Post 302200707 by jimcanoa on Thursday 29th of May 2008 10:04:46 PM
Old 05-29-2008
As far as I know, they may be files, but they aren't *regular* files.

But in any case, do you want to understand the inner workings of the operating system just to satisfy your curiosity, or do you actually have a practical problem to which the understanding of this may come in handy?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to differentiate a file from a folder in a FIND?

I have to read a complete folder and if it is a file older that 7 days I have to copy it elsewhere and if it is a folder nothing to make. The way I do it: for I in `find /home/. -name "*" -mtime +7` do cp -Rf $I /home/elsewhere/. done Am I okay with the way I want to do it? Help... (3 Replies)
Discussion started by: denysQC
3 Replies

2. Shell Programming and Scripting

how to differentiate columns of a file in perl with no specific delimiter

Hi everybody, This time I am having one issue in perl. I have to create comma separated file using the following type of information. The problem is the columns do not have any specific delimiter. So while using split I am getting different value. Some where it is space(S) and some where it is... (9 Replies)
Discussion started by: Amiya Rath
9 Replies

3. Shell Programming and Scripting

How to differentiate two tar files

Hi All, I am new to this unix stuff.I just have one doubt:suppose i have two tar files and sometimes it happens that when we just check these files from outside these two tar files look same "Eg: ls -lrt drw-r--r-- 1 oasis logadmin 37067 Apr 3 05:48 file1.tar drw-r--r-- 1 oasis ... (7 Replies)
Discussion started by: siri_14
7 Replies

4. Shell Programming and Scripting

Differentiate the scripts

Can anyone decribe what would be differnce between the following scripts: #nohup /bin/sh ./job 2>& 1& # ./job > nohup.out & Thanks Alvida (1 Reply)
Discussion started by: alvida
1 Replies

5. Shell Programming and Scripting

Help with script or command to differentiate difference between two input file?

I got two file write now. Input file 1: >data_1 DSFDFDSGFDSGSGEGTRTRERPOYIORPGKKGDSPKFSDKFPSDKFSPFS >data_34 WEEREREWREWOIQOPIEPDSKLFNDSFNSKNCASKJHDAFHAOUDFEOWWIOUFEWIUEWIRUEWIRUEWIORUEWOREWR >data_21 ASDASDQWEQWRQERFWPOTGIUWEIPOFIOFDSNFKSJDNFSKDHFKDSJHFKDSJHF >data_4... (14 Replies)
Discussion started by: perl_beginner
14 Replies

6. UNIX for Dummies Questions & Answers

differentiate $@ and $*

can anyone explain the difference between $* and $@? pandeeswaran@ubuntu:~/training$ bash dollarstar 1 2 3 "4 5" 6 1 2 3 4 5 6 1 2 3 4 5 6 pandeeswaran@ubuntu:~/training$ cat dollarstar #!/bin/bash for i in $@ do (4 Replies)
Discussion started by: pandeesh
4 Replies

7. Shell Programming and Scripting

how to differentiate file and directory name using ls command

how to differentiate file and directory name using ls command. l (3 Replies)
Discussion started by: jhon123
3 Replies

8. AIX

Any file to differentiate JAVA JRE and JAVA JDK

Folks, Any idea of where can I find a specific file to differentiate JRE and Java JDK installed on AIX platform :cool: (3 Replies)
Discussion started by: dellcisco
3 Replies

9. Shell Programming and Scripting

Differentiate 2 files name

Hello All, I have 2 Type of files. 1. MYTEST001_RKP_DORALDO_20150402120000.zip 2. CMP001_STD001_MOGANO_RPSL_20150409_C.zip I can receive these Two type of file at one location. If i receive second type of file CMP001_STD001_MOGANO_RPSL_20150409_C.zip I have to process without... (9 Replies)
Discussion started by: yadavricky
9 Replies

10. UNIX for Beginners Questions & Answers

Don't have tree, need advise to differentiate dir from file from this alternative that uses find

Hi, I don't have tree on the Solaris server and our SA don't want to install it. I found this example from One Line Linux Command to Print Out Directory Tree Listing | systemBash that more or less does what I am mainly looking for. Example run is as below: $: find ./ | sed -e... (2 Replies)
Discussion started by: newbie_01
2 Replies
SGE_CKPT(1)						   Sun Grid Engine User Commands					       SGE_CKPT(1)

NAME
sge_ckpt.1 - the Sun Grid Engine checkpointing mechanism and checkpointing support DESCRIPTION
Sun Grid Engine supports two levels of checkpointing: the user level and a operating system provided transparent level. User level check- pointing refers to applications, which do their own checkpointing by writing restart files at certain times or algorithmic steps and by properly processing these restart files when restarted. Transparent checkpointing has to be provided by the operating system and is usually integrated in the operating system kernel. An example for a kernel integrated checkpointing facility is the Hibernator package from Softway for SGI IRIX platforms. Checkpointing jobs need to be identified to the Sun Grid Engine system by using the -ckpt option of the qsub1() command. The argument to this flag refers to a so called checkpointing environment, which defines the attributes of the checkpointing method to be used (see check- point5() for details). Checkpointing environments are setup by the qconf1() options -ackpt, -dckpt, -mckpt and -sckpt. The qsub1() option -c can be used to overwrite the when attribute for the referenced checkpointing environment. If a queue is of the type CHECKPOINTING, jobs need to have the checkpointing attribute flagged (see the -ckpt option to qsub1()) to be per- mitted to run in such a queue. As opposed to the behavior for regular batch jobs, checkpointing jobs are aborted under conditions, for which batch or interactive jobs are suspended or even stay unaffected. These conditions are: o Explicit suspension of the queue or job via qmod1() by the cluster administration or a queue owner if the x occasion specifier (see qsub1() -c and checkpoint5()) was assigned to the job. o A load average value exceeding the suspend threshold as configured for the corresponding queues (see queue_conf5().) o Shutdown of the Sun Grid Engine execution daemon sge_execd8() being responsible for the checkpointing job. After abortion, the jobs will migrate to other queues unless they were submitted to one specific queue by an explicit user request. The migration of jobs leads to a dynamic load balancing. Note: The abortion of checkpointed jobs will free all resources (memory, swap space) which the job occupies at that time. This is opposed to the situation for suspended regular jobs, which still cover swap space. RESTRICTIONS
When a job migrates to a queue on another machine at present no files are transferred automatically to that machine. This means that all files which are used throughout the entire job including restart files, executables and scratch files must be visible or transferred explicitly (e.g. at the beginning of the job script). There are also some practical limitations regarding use of disk space for transparently checkpointing jobs. Checkpoints of a transparently checkpointed application are usually stored in a checkpoint file or directory by the operating system. The file or directory contains all the text, data, and stack space for the process, along with some additional control information. This means jobs which use a very large virtual address space will generate very large checkpoint files. Also the workstations on which the jobs will actually execute may have little free disk space. Thus it is not always possible to transfer a transparent checkpointing job to a machine, even though that machine is idle. Since large virtual memory jobs must wait for a machine that is both idle, and has a sufficient amount of free disk space, such jobs may suffer long turnaround times. SEE ALSO
sge_intro1(,) qconf1(,) qmod1(,) qsub1(,) checkpoint5(,) Sun Grid Engine Installation and Administration Guide, Sun Grid Engine User's Guide COPYRIGHT
See sge_intro1() for a full statement of rights and permissions. SGE 6.2u5 $Date$ SGE_CKPT(1)
All times are GMT -4. The time now is 01:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy