Determine last access of a filesystem?
I have a filesystem that I'd like to unmount if it goes unused for X amount of time. Is there a clean(ish) way to determine how long its been since a filesystem was last accessed?
I've written a script that simply lists all files on the file system, sorts by last accessed date, and compares that with the current date. It works, but I figure there has to be a more elegant solution. Plus this won't be practical if the filesystem grows substantially in size, or if the filesystem is mounted with the option noatime.
Hi,
Check the Tcode <b>SM21</b>.
Regards
vijay
Similar Messages
-
Is it possible to know the date & time, when a form has been last accessed?
Hi
I am using forms 6i. Is it possible to know when a form has been last accessed by any user?
RegardsOnly if you implement such a feature. (Maybe writing to a table in the PRE-FORM-trigger in an autonomous transaction)
-
SolMan 4.0: Support Team determination via Access Sequence not working
Hi,
from all the documentation I've read I got the following understanding for automatically determination of Support Team via Access Sequence (well, for one possibillity at least):
- Maintain Sold-to-Party in IBase IB52, especially country attribute. DONE
- Maintain Organizational Structure in PPOMA_CRM and create Org. Units, Business Partner No. get assigned automatically. DONE
- The Organizational Unit "Support Team" has the same country attribute as the Sold-to-Party and was marked "Obj. Permitted in Determination". DONE
- In IMG under SolMan -> Sc.-Specific Settings -> Partner Det. Proc. -> Def. Partner Det. Procedure select Procedure "SLFN0001" -> Partner Functions in Procedure -> Select "Support Team" -> Details, in block "Partner Determination" under "Access Sequence" select "Organizational data: Support Team by org. model". DONE
If I now create a support message in a satellite system the Support-Team will NOT be assigned. Instead if I have a look into transaction data of the message under tab "Actions" there is an entry "When message is created, find support team responsible" with processing parameters RULE AC13200137, PARTNER_FCT SLFN0003.
This makes absolutely no sense to me, why is the determination rule 13200137 used (which contains no entries at the moment) instead of the assigned Access Sequence?
Am I missing something?
Regards,
Marco KipkaHi,
no hint for solving the problem?
This is getting quite urgent, since I'm working at a customers site and try to implement the describted scenario.
Regards,
Marco -
URGENT : How to retrieve Last Accessed Timestamp for all Users in GRC
Dear Experts,
Please help me with this urgent request. Appreciate your help in advance.
My client is trying to understand the usage of the GRC application and would like to know information regarding the Last Accesse Time for all users who have logged into the Oracle's Governance, Risk and Compliance applcaition.
Thank You,
RakeshIf you still need the solution,
Have a callback on OnSubtaskUpdated in your BPEL. This call back will be called for any updates in parallel approval pattern.
Thanks
--Sreeny -
How to know last access date for the schema's
Dear all,
could u plz tell me How to know last access date for the schema’s
Regards,
Srinivasa rao.PSrinivas,
could u plz tell me How to know last access date for the schema’s
In Oracle, we don't access schemas but schema objects.And this informationis not kept anywhere persistantly.As Amit also mentioned,if you do need it,you have to enable Auditing.
Aman.... -
Deletion of bookmarks from RSWR_DATA table based on 'Last access' date
We want to delete the 7.X bookmarks from RSWR_DATA table based on Last accessed date. The program RSWR_BOOKMARK_REORG does not provide the selection criteria to delete the bookmarks based on last accessed date.
Is there any alternative program that deletes bookmarks from RSWR_DATA table based on last accessed date?
Please advice.We want to delete the 7.X bookmarks from RSWR_DATA table based on Last accessed date. The program RSWR_BOOKMARK_REORG does not provide the selection criteria to delete the bookmarks based on last accessed date.
Is there any alternative program that deletes bookmarks from RSWR_DATA table based on last accessed date?
Please advice. -
Session List and Last Access Time
I want to get a list of WebLogic's current/active sessions and find out
the user's last access time for each session. How can I do this? I'm
using WebLogic 4.5.
Thanks in advance.
Sincerely,
William H. Stone
X U M A <build-to-order e-business>
William H. Stone
160 Pine St., 2nd Floor
San Francisco, CA 94111
Phone:(415)777-9988
Fax: (415)777-2704
http://www.xuma.comI am trying to maintain simultaneous sessions with WebLogic and another
app server. I am writing a daemon that will read thru the active
session list and check to the last activity time. Based on this and a
similar list I get from the other app server, I will "ping" the oldest
session to keep it up to date. The result is that the sessions will not
time out prematurely.
Clear as mud?
-WHS
Mauricio Del Moral wrote:
Many information about your WLS it could be viewed with the Weblogic
Console....but exactly what are you trying to get???--
X U M A <build-to-order e-business>
William H. Stone
160 Pine St., 2nd Floor
San Francisco, CA 94111
Phone:(415)777-9988
Fax: (415)777-2704
http://www.xuma.com -
Last access date of fields in sql server table
Hello All,
is there any queries to find last access date of all fields in sql server tables.
because in our database table having no of field,most of fields are unused from long time.we want drop those fields from tables to make the table light.
Thanks In Advance!!!
mastanvali shaikDo the fields have indexes?
In SQL Server 2005 you can use the sys.dm_db_index_usage_stats data
management view, look at the column last_user_update, you can also see when
the table was last accessed (last_user_seek and last_user_scan - do a MAX on
them).
SELECT
last_user_seek = MAX(last_user_seek),
last_user_scan = MAX(last_user_scan),
last_user_lookup = MAX(last_user_lookup),
last_user_update = MAX(last_user_update)
FROM
sys.dm_db_index_usage_stats
WHERE
[database_id] = DB_ID()
-- if you want to leave out system objects, uncomment the next line:
-- AND OBJECTPROPERTY(object_id, 'IsMsShipped') = 0
--last modified date
select name,modify_date from sys.procedures
order by modify_date desc
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
What is data determination in access?
hi gurus,
what is data determination in access? what are the docs not in pricing that was mentioned in its definition?
thanks,
paulhi,
Data determination requires a structure in which the data determined can be stored and accessed from pricing. Communication structure KOMPAZD is provided for this purpose.
The standard system provides the following fields in this structure:
Price list type
Exclusion indicator
Communication structure KOMPAZD can be extended in the same way as communication structures KOMKAZ and KOMPAZ.
This is described in SD Customizing under:
Sales and Distribution ® System Modification ® Create new fields (using condition technique) ® New fields for pricing
Prerequisites:
Data determination in the access for pricing takes place at field level. A field is selected for this. It is used for data determination, not pricing. This is carried out as follows:
When maintaining a condition table, you can choose a field from the key in the Technical Settings field. It is then designated as a data field and is automatically indicated with C in the access in Customizing for access sequences. This is only possible when it is created. If you want to change existing condition tables, you must delete them and then recreate them.
Link
regards
sadhu kishore -
Last Access and Last Update Times for objects in Cache
Hi,
We are looking to implement Tangosol cache for our one of our critical J2EE systems and I am pretty new to it. One of the requirements is to know the following timings
-Time when an object was put in a cache X (Last update of the object)
-Time when an object was last accessed in the cache X (Last access time of an object)
Is it possible to get these values through the Tangosol J2EE API?
Thanks,
raviHi Ravi,
You can use InvocationService to access this information - an example is attached.
Regards,
Dimitri<br><br> <b> Attachment: </b><br>DumpCache.java <br> (*To use this attachment you will need to rename 529.bin to DumpCache.java after the download is complete.) -
Every boot: Superblock last access time in future. HARDWARECLOCK bug?
Hi,
Recently (about the last month or so?) every time I boot my Arch, the boot process stops with "superblock last access time in future (time1), now it is (time2)", and a check is forced. The check never finds or corrects any error, but when I reboot it starts normally. This happens at every boot, but only some of the reboots.
The weirdest thing is what is the value of time1: I'm at GMT+8, and time2 always shows the current local time, while time1 is a bit less then 8 hours in the future.... It looks like at some point of the boot the timezones are applied in a weird way. In rc.conf I have HARDWARECLOCK="localtime" because the windows dual-boot needs that, unfortunately. So maybe the hardware clock is first treated as "UTC" and the time zone is added, then a few seconds later it is treated as "localtime" correctly...
Is there a way to diagnose this? Check what exactly happens during the boot? Or someone has a solution?
Cheers,
GregI had a similar problem only on rare occasions though, you could try setting the last mount time with
tune2fs -T now /dev/sda1
or what ever your hard drive partitions numbers happen to be.
Not sure if this was necessary but i also commented out the sections saving system clock in /etc/rc.shutdown
I am running on localtime and have openntpd adjusting the system clock as it seems to fall behind time if i don't, and have not had any problems since -
Last Accessed Date of Tables (including SELECT) for Oracle 8 DB clean-up
Hi all,
I am assigned the task of listing out tables in a large database which are not used anymore. Is there a way by which we can find the last accessed date of the tables (including SELECT access) so that it would ease my task of finding out used tables?
Your comments on LogMining for Oracle 8.0 and AUDIT on Production DB are welcome
Many Thanks,
RaviHi all,
I am assigned the task of listing out tables in a large database which are not used anymore. Is there a way by which we can find the last accessed date of the tables (including SELECT access) so that it would ease my task of finding out used tables?
Your comments on LogMining for Oracle 8.0 and AUDIT on Production DB are welcome
Many Thanks,
Ravi -
hi gurus,
can you give me steps on how to setup a data determination in access? i think data determination for sales deals is one of the simplest way. can you help me?
thanks,
paulused to copy pricing of another pricing procedure
-
Windows 8 Last Access Time Stamps not working
Hi I have been trying to fix a issue with last access time stamps not working when I open a file
so will have time on created modified and accessed from when created but some are wrong like one file
saying
created Sunday, September 14, 2014, 5:19:32 AM
modified Sunday, September 14, 2014, 5:19:32 AM
accessed Sunday, September 14, 2014, 5:19:32 AM
I'm not sure what can cause this please help thank youHi whowhatwere,
Are you only confused about the last access time not change when you open a file?
If you want to know more details about modified and created time, we can refer to the following KB.
http://support.microsoft.com/kb/299648/en-us
About the accessed time, please refer to the following blog.
How do I access a file without updating its last-access time?
http://blogs.msdn.com/b/oldnewthing/archive/2011/10/10/10222560.aspx
The blog mentioned that: In fact, the intuitive definition of access is more specific: It's "the last time I opened, modified, printed, or otherwise performed some sort of purposeful action on the file."
Best regards,
Fangzhou CHEN
Fangzhou CHEN
TechNet Community Support -
Hi,
Is there a way to view the last access date in the base of an user?
thanks!!!Hi Tad,
You can create a table for example login_info (username, login_time, logout_time) and write a ddl trigger to keep record for all logins.
Query this table when you need last access.
Hope this helps
Ghulam Mustafa Butt
Maybe you are looking for
-
EPI use of hierarchies in SAP R/3 FICO
Hi This is related to a BW report which gets its data from SAP R/3 FICO. We are facing a problem wherein development R/3 and quality R/3 are not in sync. Since they are not in sync with respect to Customer Group Hierarchy (PH6) our BW report does no
-
UCCX limit duration of calls in Queue
Hi, How can I redirect a call to another queue after it stays in the first queue for X amount of time? This is to say to limit the duration of a call in the first queue to X amount and then once it reaches that target, it will be redirected to anothe
-
Work Order Smartforms.. How to get the Service level Items...
Hi Experts, I am working on Work Order Smartform... I got everything but i am stucking at Service level Items... There is one Table called ESLL.. I am trying to fetch the data from that table but its not printing.. So, please help me regarding this i
-
How can i increase the ram on my mac book?
Trying to upgrade to snow leopard [i know i am way behind!!!!!] but have just been informed that i do not have enough RAM . What is the easiest way around this???
-
i cant synchronize apps fro ipad 3 / iphone 4 to older ipodtouch3 with iOS5.1.1. What is my mistake?