Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Listing based on User and Date Post 302713633 by muhnandap on Thursday 11th of October 2012 04:30:29 AM
Old 10-11-2012
Listing based on User and Date

listing based on user.

I have files in some folder that come from many user
Code:
-rwxrwxr-x  1 ratih     pbank 4827112 Jun  8 08:37 S92TA-8.sgy
-rwxrwxr-x  1 ratih     pbank 4724568 Jun  8 08:37 S92TA-6.sgy
-rwxrwxr-x  1 ratih     pbank 4929656 Jun  8 08:37 S92TA-19.sgy
-rwxrwxr-x  1 ratih     pbank 9820216 Jun  8 08:37 S92TA-5.sgy
-rwxrwxr-x  1 ratih     pbank 4929656 Jun  8 08:37 S92TA-17.sgy
-rwxrwxr-x  1 ratih     pbank 6286392 Jun  8 08:37 S92TA-1.sgy
-rwxrwxr-x  1 ratih     pbank 4827112 Jun  8 08:37 S92TA-10.sgy
-rwxr-xr-x  1 aiprawira pbank 6106640 Jun 26 08:50 S92JA-002.sgy
-rw-r--r--  1 aiprawira pbank 1240080 Aug 30 10:11 S74JA-009.sgy
-rwxrwxr-x  1 aliyyus   pbank 1531440 Sep 12 09:29 S78JA-018_1.SGY
-rwxrwxr-x  1 aliyyus   pbank 2295360 Sep 12 09:29 S78JA-016.SGY
-rwxrwxr-x  1 aliyyus   pbank 2006768 Sep 12 09:29 S78JA-014_1.SGY
-rwxrwxr-x  1 aliyyus   pbank 1514464 Sep 12 09:29 S78JA-018_2.SGY

what command should I use to make listing for particular user and particular date
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

long listing of files up to a given date

Hi I would like to a long list of files up to a given date. I've tried: ls -al > filelist but this command gives me all the files. I've also have tried the find command: find . -mtime -10 -type f -print > filelist This gives me information on active file within the past 10 days and... (2 Replies)
Discussion started by: rlh
2 Replies

2. UNIX for Advanced & Expert Users

Listing tomorrows date

I am writing a script to strip data from a log, strip last month and empty the log for the comming month. It works great at the moment, but during testing I decided to change the date to 12/31 and when I ran it, it did not find tomorrows date. Further testing revealed that no dbl digit month would... (2 Replies)
Discussion started by: theninja
2 Replies

3. Shell Programming and Scripting

listing Directory chronologically based on part of file name

hi Everbody, I had file names as shown file_01_20101104.txt file_01_20101105.txt file_02_20101104.txt file_01_20101205.txt file_03_20101104.txt file_02_20101105.txt Now i want to list them based on the date in the file name as shown... file_01_20101104.txt file_02_20101104.txt... (3 Replies)
Discussion started by: Reddy482
3 Replies

4. UNIX for Dummies Questions & Answers

Listing file name and date

Hello. I want to make an unix script which create a file with the name and the date of creation of the different files that there are in a directory. Can do you please help me? Thank you in advance. (3 Replies)
Discussion started by: Jfka
3 Replies

5. Shell Programming and Scripting

Search on date range of file based on user input

Hello I would like to ask for help with a script to search a directory that contains many log files and based on a users input after being prompted, they enter a date range down to the hour which searches the files that contain that range. I dont know how to go about this. I am hoping that the... (5 Replies)
Discussion started by: lostincashe
5 Replies

6. UNIX for Dummies Questions & Answers

[Solved] How to remove listing of current user cmd from ps -ef listing?

Hi All, Could you please help to resolve my following issues: Problem Description: Suppose my user name is "MI90". i.e. $USER = MI90 when i run below command, i get all the processes running on the system containing name MQ. ps -ef | grep MQ But sometimes it lists... (8 Replies)
Discussion started by: KDMishra
8 Replies

7. Shell Programming and Scripting

Date listing in a date range

Solaris 10 ksh88 Sorry for re-hashing some of this, but I can't find a proper solution in the forums. Starting with /a/archive containing (on and on date formatted directories) 20060313 20080518 20100725 20121015 20060314 20080519 ... (1 Reply)
Discussion started by: moesplace
1 Replies

8. Shell Programming and Scripting

Confused with date - listing

Hello,:) Can anyone help me out in giving a script for my requirement please.. I have a number of files in a directory like somenumber.0100 somenumber.0130 somenumber.0159 somenumber.0300 somenumber.0330 somenumber.0525 . . . here, the number after the dot is the time (hhmm) I... (6 Replies)
Discussion started by: Raghu8985
6 Replies

9. AIX

Date not appearing when listing using ls -la

Hi everyone, this strange error suddenly popped up out of no where when I do a directory listing , the date part doesn't appear root@oradb:/backup>ls -la total 58069304 drwxr-xr-x 3 root system 4096 23 ▒▒▒ 21:56 . drwxr-xr-x 44 root system 1536 23 ▒▒▒ 21:47... (4 Replies)
Discussion started by: filosophizer
4 Replies

10. Solaris

Solaris 10: Listing the memory usage based on UNIX user wise.

Hello All I have a Solaris 10 machine, wherein processes are run in various unix users. a. How do I list the memory usage per user? b. Can I get a top command kind of output per user rather than entire machine? Thanks Sunil Kumar (3 Replies)
Discussion started by: msgforsunil
3 Replies
bup-margin(1)						      General Commands Manual						     bup-margin(1)

NAME
bup-margin - figure out your deduplication safety margin SYNOPSIS
bup margin [options...] DESCRIPTION
bup margin iterates through all objects in your bup repository, calculating the largest number of prefix bits shared between any two entries. This number, n, identifies the longest subset of SHA-1 you could use and still encounter a collision between your object ids. For example, one system that was tested had a collection of 11 million objects (70 GB), and bup margin returned 45. That means a 46-bit hash would be sufficient to avoid all collisions among that set of objects; each object in that repository could be uniquely identified by its first 46 bits. The number of bits needed seems to increase by about 1 or 2 for every doubling of the number of objects. Since SHA-1 hashes have 160 bits, that leaves 115 bits of margin. Of course, because SHA-1 hashes are essentially random, it's theoretically possible to use many more bits with far fewer objects. If you're paranoid about the possibility of SHA-1 collisions, you can monitor your repository by running bup margin occasionally to see if you're getting dangerously close to 160 bits. OPTIONS
--predict Guess the offset into each index file where a particular object will appear, and report the maximum deviation of the correct answer from the guess. This is potentially useful for tuning an interpolation search algorithm. --ignore-midx don't use .midx files, use only .idx files. This is only really useful when used with --predict. EXAMPLE
$ bup margin Reading indexes: 100.00% (1612581/1612581), done. 40 40 matching prefix bits 1.94 bits per doubling 120 bits (61.86 doublings) remaining 4.19338e+18 times larger is possible Everyone on earth could have 625878182 data sets like yours, all in one repository, and we would expect 1 object collision. $ bup margin --predict PackIdxList: using 1 index. Reading indexes: 100.00% (1612581/1612581), done. 915 of 1612581 (0.057%) SEE ALSO
bup-midx(1), bup-save(1) BUP
Part of the bup(1) suite. AUTHORS
Avery Pennarun <apenwarr@gmail.com>. Bup unknown- bup-margin(1)
All times are GMT -4. The time now is 06:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy