Sponsored Content
Top Forums UNIX for Advanced & Expert Users Check EOF char in Unix. OR To check file has been received completely from a remote system Post 302439312 by alexalex1 on Thursday 22nd of July 2010 08:49:17 AM
Old 07-22-2010
please correct me

scp has been done by Machine A on Machine B. We never have access to machine A and we are unknown about the time in which machine A has scp/ftp the file on machine B. That is the situation
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to check if the file DOES NOT have EOF

Hi, Please help me on this. how to check if the file DOES NOT have EOF ?? I am using ksh for this. (3 Replies)
Discussion started by: BasavarajaKC
3 Replies

2. Shell Programming and Scripting

check if file exists on remote system ?

Hi there, I am designing a software rollout script and need to check if a particular file exists on a remote system something along the lines of if ; then blah blah The above doesnt work but you get the general idea....is there a way I can do this on a single line ?? any help would... (2 Replies)
Discussion started by: hcclnoodles
2 Replies

3. UNIX for Advanced & Expert Users

Using FTP to check whether file is completely FTP... plz find the description below

Hi, We have some clients who will place huge files in to one of the remote server. And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients. My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies

4. Shell Programming and Scripting

check processes on remote system?

I have a script that counts the number of oracle processes running on the system: if then and it continues based on whether or not it finds running processes. Now we would like to move oracle to a separate server, but keep the application (and this script) on the old machine. Is there a... (9 Replies)
Discussion started by: Wotan31
9 Replies

5. Shell Programming and Scripting

Check if file is loaded completely and then process the file

I need to write a script which checks for files loaded into a folder (files are loaded by ftp from other server) and process the file only if the file is loaded completely. if the file is not complete in the current run, it must be processed in the next run. Any suggestions would be welcome... (2 Replies)
Discussion started by: kalyan381
2 Replies

6. Shell Programming and Scripting

To check wheather a file is downloaded completely or not

I will have two files (which were in .txt format) ftp'ed to a specified directory, from where my ksh picks up each file at a time and starts processing it. So i need to write a script which as soon as find a file should check wheather it is download completely or not. If it is still downloading... (2 Replies)
Discussion started by: vpv0002
2 Replies

7. UNIX for Advanced & Expert Users

quick remote health check SAP systems from UNIX commandline

Hi folks Howto do quick remote health check for SAP systems on UNIX commandline? To see if a SAP system is down or in maintenace mode (no login). I am searching something like "tnsping"/Oracle for SAP systems. (2 Replies)
Discussion started by: slashdotweenie
2 Replies

8. Shell Programming and Scripting

csh Check if file exists on remote system

I've seen this question posed a few times with shell scripting, but have not found anything with csh. I am trying to download multiple txt files from a source using wget. These are archived tornado warning files; however, the files only exist if there were tornado warnings issued that day. I'm... (3 Replies)
Discussion started by: meteorologistks
3 Replies

9. AIX

Error received when I was trying to check state of boot record

Hello, This is a test/lab LPAR. Recently installed and updated the SP/TL. everything seems to be working fine. (ran all post install checks) I checked the state of boot record, received the following error/failed message. Can you please explain what does this mean ? />ipl_varyon -i ... (1 Reply)
Discussion started by: dio34
1 Replies

10. Shell Programming and Scripting

How to check email with attachment received or not from UNIX shell script?

Hello Guys, Here is the requirement!! I want to check the mail with attachment received or not through unix scripting. And send an notification email when mail with attachment already received. Any thoughts on this is much appreciated!! Regards, Harry (0 Replies)
Discussion started by: dharry2017
0 Replies
MCE-INJECT(8)						  Linux's Administrator's Manual					     MCE-INJECT(8)

NAME
mce-inject - Inject machine checks into x86 kernel for testing SYNOPSIS
mce-inject mce-file1 ... mce-inject < mce-file DESCRIPTION
mce-inject allows to inject machine checks in a running x86 Linux kernel. machine checks are internal CPU errors. This tool is intended to test the machine check handling code. The injection only happens on the software level and does not simulate full machine check handling on the platform level. The machine checks to be injected are described in a input language similar to the format the kernel outputs on a panic message (with a few extension). In general you should be able to pipe in a panic message to inject that mce. See the IA32 SDM Vol3a chapter 14 for the details on fields. They correspond to the machine check MSRs of the standard IA32 Machine check architecture described there. INPUT LANGUAGE
These generally represent the similarly CPU MSRs, with some metadata on where to inject the exception. Please see the IA software develop- ers Manual for more details. The machine check always starts with MCE or CPU number|broadcast [bank-number] Machine check is injected on CPU xx or broadcasted to all CPUs BANK bank-number Machine check bank to inject on. STATUS {number|fatal|corrected|uncorrected|pcc|uc|val|en|over|ar|ucna|srao|srar|s} The symbols generally represent hardware register bits, as documented in the Intel software developer's manual. When multiple are listed they are ored together. MCGSTATUS {number|mcip|ripv|eipv} The symbols generally represent hardware register bits, as documented in the Intel software developer's manual. When multiple are listed they are ored together. ADDR number RIP number RIP number:<number>{string} RIP number:number MISC number CPU number : machine check exception : number BANK number : number parsed for compatibility with kernel output. Use explicit statements TSC number TSC state injected in machine check NOBROADCAST Don't broadcast exceptions to all CPUs. Default is to broadcast UC IRQBROADCAST Broadcast IRQ to all CPUs that not getting error injection. NMIBROADCAST Broadcast NMI to all CPUs that not getting error injection. IN_IRQ MCE should be injected in interrupt context IN_PROC MCE injected in process context. HOLD Don't inject MCE immediately but hold it for later injection. This is useful for testing injection on multiple CPUs in parallel SOCKETID number Socketid. Ignored by kernel on injection. MCGCAP number Machine check capabilities register value. Currently ignored by kernel on injection. POLL Inject in machine check poller code. EXCP Inject as machine check exception. APICID number APIC ID of CPU. Ignored by kernel on injection. A list of symbols ors the symbols together. Multiple fields can be on a line. number can be hex/octal/decimal in the usual C format. Multiple machine checks can be in a single file, each new one starts with "CPU" or "MCE". For all missing fields reasonable default values are filled in (hopefully) Comments start with # until the end of the line The keywords are case-insensitive. REQUIREMENTS
mce-inject to run as root. /dev/mcelog has to exist. The kernels needs to have machine check injection ( CONFIG_X86_MCE_INJECT ) enabled and if modular the mce-inject module loaded. This option is available in Linux 2.6.31 or later. NOTES
The mce-test package has a lot of input file examples. SEE ALSO
Intel 64 and IA32 Architectures Software Developer's manual, Volume 3, System programming guide Parts 1 and 2. Machine checks are described in Chapter 14 in Part1 and in Append ix E in Part2. Datasheet of your CPU. Intel OTC May 2009 MCE-INJECT(8)
All times are GMT -4. The time now is 04:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy