10-08-2008
Thanks a very quick question on the above...i have a folder in which there are many type of file types...
I want to know which files were not used since 1 May, 2008.
Can you help me with that???
Thanks
Karan
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I know how to count lines, count byte of a file, but really dont know how to compare line , I am newbie and hope you can help me to learn more about UNIX.
Here is my problem.
====
How :
1. File A (Flatfile with NAME|DATE|ID1|ID2|ID3|ID4|ID5)... (3 Replies)
Discussion started by: sabercats
3 Replies
2. Shell Programming and Scripting
Hi,
I am a newbie to shell scripting. here is my objective:
1)The shell program should take 2 parameters - ie-> DestinationFolder, WebFolder
2)Destination folder contains few files that has to has be verified and deleted.
3)WebFolder is a folder containing a list of master files
4)It... (1 Reply)
Discussion started by: sandhyagupta
1 Replies
3. Shell Programming and Scripting
Hi,
I have a dir in which I need to check for 3 files. and naming for three files are as below.
fileone_yyyy_mm_dd.dat
filetwo_yyyy_mm_dd.dat
filethree_yyyy_mm_dd.datand YYYY_mm_dd will change everyday as the date changes. I need to check everyday all these files are existing or not... (4 Replies)
Discussion started by: ravinunna
4 Replies
4. Shell Programming and Scripting
Hi,
I am new to shell scripting.Please help me on this.I am using solaris 10 OS and shell i am using is
# echo $0
-sh
My requirement is i have source file say makefile.I need to extract files with extensions (.c |.cxx |.h |.hxx |.sc) from the makefile.after doing so i need to check whether... (13 Replies)
Discussion started by: muraliinfy04
13 Replies
5. Shell Programming and Scripting
Hi Experts,
I am checking how to get day in Perl.
If it is “Monday” I need to process…below is the pseudo code.
Can you please prove the code for below condition.
if (today=="Monday" )
{
while (current_time LESS THAN 9:01 AM)
... (1 Reply)
Discussion started by: ajaypatil_am
1 Replies
6. Shell Programming and Scripting
Hi all,
I have 2 files in which i have to find commom entries in column 1 an dif soemthing is common write other data of both files in front of it mentioned.
Gene symbol and disease name
column 1 column2
ARFGEF2 CAD
DDEF2 CAD
PSCD3 CAD
PSCD4 CAD
CAMK1... (15 Replies)
Discussion started by: manigrover
15 Replies
7. Shell Programming and Scripting
Hi,
I have to check the files in another server using sftp to do that, below is the code i am going with
#!/bin/bash
export SRC_FOLDER=$1
export ARC_FOLDER=$2
HOST=as07u3456
USER=relfag
sftp ${USER}@${HOST} <<EOF
cd $SRC_FOLDER/DSCOR
ls
bye
EOF
echo "done"
whatever the files i... (8 Replies)
Discussion started by: ursrami
8 Replies
8. Shell Programming and Scripting
unzip -v gives CRC info of each file in a zip(in my case .EAR) file.
# unzip -v my-application.ear
Archive: my-application.ear
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
197981 Defl:N 183708 7%... (1 Reply)
Discussion started by: kchinnam
1 Replies
9. What is on Your Mind?
For the first time in the history of the site Google Search Console (GSC) has unix.com showing "no mobile viewability errors". This is no small achievement considering the hundreds of thousand of lines of legacy code we run at a site which has been around much longer than Facebook or LinkedIn:
... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT CENTOS
error::buildid
ERROR::BUILDID(7stap) ERROR::BUILDID(7stap)
NAME
error::buildid - build-id verification failures
DESCRIPTION
Because systemtap's script translation / execution stages may be executed at different times and places, it is sometimes necessary to ver-
ify certain invariants. One such invariant is that if a script was informed by translate-time analysis of executables, then those same
executables need to be used at run time. This checking is done based upon the build-id, a binary hash that modern (post-2007) compil-
ers/toolchains add as an NT_GNU_BUILD_ID ELF note to object files and executables. Use the readelf -n command to examine the build-ids of
binaries, if you are interested.
Only scripts are sensitive to executables' build-ids: generally those that perform deep analysis of the binaries or their debuginfo. For
example, scripts that place .function or .statement probes, or use stack backtrace-related tapset functions may be sensitive. Other
scripts that rely only on process.mark or kernel.trace probes do not require debuginfo. See the DWARF DEBUGINFO section in the stap-
probes(3stap) man page.
During translation, systemtap saves a copy of the relevant files' build-ids within the compiled modules. At run-time, the modules compare
the saved ones to the actual run-time build-ids in memory. The error message indicates that they did not match, so the module will decline
placing a probe that was computed based upon obsolete data. This is important for safety, as placing them at an inappropriate address
could crash the programs. However, this is not necessarily a fatal error, since probes unrelated to the mismatching binaries may operate.
A build-id mismatch could be caused by a few different situations. The main one is where the executable versions or architecture were dif-
ferent between the systemtap translation and execution times/places. For example, one may run a stap-server on a slightly different ver-
sion of the OS distribution. The kernel running on the workstation may be slightly different from the version being targeted - perhaps due
to a pending kernel upgrade leaving different files on disk versus running in memory. If your OS distribution uses separate debuginfo
packages, the split .IR .debug files may not exactly match the main binaries.
SEE ALSO
http://fedoraproject.org/wiki/Releases/FeatureBuildId,
stap(1),
stapprobes(3stap),
warning::debuginfo(7stap),
error::reporting(7stap)
ERROR::BUILDID(7stap)