How to check for physical damage on a disk using the Command Line

I have a startup disk that I suspect of physical damage. The symptoms is that the server (10.4.7) would "hang" randomly, about once a day. I have already changed it and restored from a backup, and now everything is fine. However just out of curiosity are there any command line utilities to do a physical surface scan of the drive, like TechTool Pro but included in Mac OS X Tiger?
G4 Dual 1.42 Ghz   Mac OS X (10.4.6)  

Extract from the Command Line Guide for Tiger Server:
Checking for Disk Problems
You can use the diskutil or fsck command (fsck_hfs for HFS volumes) to check the physical condition and file system integrity of a volume. For more information, see the related man pages.
MacBook Pro   Mac OS X (10.4.7)  

Similar Messages

  • How to enable telemetry logs and where can i find the command line for sun

    Hi i tried creating the telemetry logs directory but the logs are not being populated. i created the following directory:-
    /opt/SUNWmsgsr/data/telemetry/imap/usersns1
    where usersns1 is the userid.
    Also pl. tell me where can i get the command list for sun one messaging server to use the command line utility to list, delete mailboxes. also can i search for all the mailboxes under one domain name. if yes then which command i have to use.
    thanks in advance.

    Hi,
    Hi i tried creating the telemetry logs directory but
    the logs are not being populated. i created the
    following directory:-
    /opt/SUNWmsgsr/data/telemetry/imap/usersns1
    where usersns1 is the userid.Make sure the permissions (ownership) on the user directory and the sub directory match those that messaging server uses - by default mailsrv:mail. This is the most common cause of the telemetry data not being created. The other thing to verify is that the user's account isn't stored as user@domain, otherwise you may need to create the directory as the entire user@domain (try both just to be sure).
    Also pl. tell me where can i get the command list
    for sun one messaging server to use the command line
    utility to list, delete mailboxes. also can i search
    for all the mailboxes under one domain name. if yes
    then which command i have to use.The Messaging Server reference guide is a good place to start (lists all the command-line utilities/flags and what-not):
    http://docs.sun.com/app/docs/doc/819-4429?l=en
    The mboxutil command is used to list/create/delete mailboxes and you can use a pattern to only list those mailboxes in a specific domain.
    Regards,
    Shane.
    thanks in advance.

  • How to pass in variables using the command line when starting ActionScript native app

    How do I pass in variables or startup arguments using the command line when starting an ActionScript native app? For example, I have my app call MySweetWidget and it has been compiled with Adobe AIR captive runtime so now I have MySweetWidget.exe.
    In the command line, I am calling MySweetWidget.exe and would like to pass in variables or properties to the application. I would assume that those variables are then read from the loaderInfo.parameters object.
    Please let me know if the Adobe AIR runtime supports passing in parameters to the native runtime. If so, I would like help determining the correct format of how to pass in the variables. Then would you read those from the loaderinfo.parameters object?
    Thanks,
    Jeff

    I found the answer to my own question:
    Yes it is a supported feature. It is documented on the following page:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeApp lication.html#event:invoke
    When you subscribe to the invoke event of the NativeApplication it will subsequently dispatch the event and you read the e.arguments Array object to get the startup arguments passed into the native application.

  • Why yahoo/gmail retrieval and facebook app so so slow when in WIFI. But using the internet to check for emails and facebook is fast using the same WIFI connection??

    Why yahoo/gmail retrieval and facebook app so so slow when in WIFI. But using the internet to check for emails and facebook is fast using the same WIFI connection??

    Hi SandyS_VZW,
    Yes tried resetting the wifi connection and problem still persist.
    Here it is...to make it clear. Connected thru the same wifi at home...
    -> emails (yahoo/gmail) and facebook WEBSITES are working fine and fast when using/accessing thru a browser (chrome/samsung browser) - no problem with this.
    -> emails (yahoo/gmail) and facebook APP is soooooo sloooww (thru the App). Slow I mean comparing it to using their browser/websites... news feeds/emails refreshing so quickly but not when using the APP installed in Samsung Galaxy Note 4. Slow like - It will take around 5-10minutes just to get your emails and news feed refreshed.
    THIS HAPPENS ONLY WHEN CONNECTED THRU A WIFI which has a speed of 10-20mb. It is not happening when connected to the network data/plan.
    My wife has the same Samsung Galaxy Note 4 (coming from different provider at&t) - same setup (emails, fb app), same wifi connection, but she's not experiencing anything like it.
    Not sure why, I dont want to believe that while connected to a WIFI, Verizon is restricting anything and ******* me off to make me switch to my data plan connection everytime - which is Unfair!
    Was there a known issue similar about this case?
    thanks,

  • How to check status of a particular port by using netstat command?

    How to check status of a particular port by using netstat command?
    I want to check  port 443 in my server is open or not, is there any other way to check port via commandline?

    Hi,
    You can run the below command in an administrator command prompt on the server:
    netstat -ano|findstr ":443"
    -TP

  • How to enable Rosetta at the system level using the command line?

    I need to find a way to enable Rosetta at the system level (e.g. all users) using the command line. When Rosetta is enabled, the following entry is created in ~/Library/Preferences/com.apple.LaunchServices (run defaults read com.apple.LaunchServices)
    LSPrefsFatApplications = {
    "com.apple.Safari" = (
    <00000000 009a0003 00010000 c323458f 0000482b 00000000 00000023 0000727b 0000c2b0 8b4e0000 00000920 fffe0000 00000000 0000ffff ffff0001 00040000 0023000e 0016000a 00530061 00660061 00720069 002e0061 00700070 000f0014 00090053 00650072 00760065 00720020 00480044 00120017 4170706c 69636174 696f6e73 2f536166 6172692e 61707000 00130001 2f00ffff 0000>
    Does anyone know what the data shown here is? It doesn't change when Rosetta is turned off and then back on. It also doesn't change between user accounts (e.g. joe's com.apple.LaunchServices.plist has the same value as jane's).
    Will it be possible to run defaults in a way that makes this change work for all users of the computer?

    I am asking about the option to run in non-interactive modeIt cannot be done. Check "Oracle® Applications Maintenance Utilities Release 11i (11.5.10.2)" manual for more details.

  • How to load the boot menu using the command line , after the configuration change ?

    how to load the boot menu using the command line , after the configuration change ?

    Hi @Bask-48 
    Welcome to the HP Forums!
    It is a terrific place to find answers.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp you are trying to change the boot order.  Here is a link to Configuring the Boot Order in the System BIOS
    that will assist you.
    Good Luck and Happy Holidays!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • How can I save captured clips to hard disk using the actual video recorded date, not the date I transferred it?

    When using Batch capture in AP5.5, the clips are saved to hard disk using the capture date as the Created Date and Modified Date.  How do I configure Premier to use the actual clips recorded date (Meta Data Basic/Date Created) so that I can view them in Windows folders and other applications based on the date the video was recorded, not when I imported it.

    AFAIK, there's no way to do that with Premiere Pro.  You can probably find a utility on the Internet that will change the dates for you after the fact. 
    Cheers,
    Jeff

  • Argument "10.2.8.39 c/ 1435.Process" for option "connection" is not valid. The command line parameters are invalid.

    Hello,
    I am running a sql job which runs SSIs pakcage imported from Integration Service Sever..
    it give me this error.... the server is :10.2.8.39 and the database is process
    how can I fix It? 

    Hello Arthux ,, thx alot for your help,,, I run the job again and this time it gives me this error ??
    Date,Source,Severity,Step ID,Server,Job Name,Step Name,Notifications,Message,Duration,Sql Severity,Sql Message ID,Operator Emailed,Operator Net sent,Operator Paged,Retries Attempted
    11/28/2011 13:58:09,SSISScoreCardsSDM,Error,0,OPLINKDEVINTRA\OPLINKDEVINTRA,SSISScoreCardsSDM,(Job outcome),,The job failed.  The Job was invoked by User LINKDOTNET\michael.philip.  The last step to run was step 1 (SDM).,00:00:01,0,0,,,,0
    11/28/2011 13:58:10,SSISScoreCardsSDM,Error,1,OPLINKDEVINTRA\OPLINKDEVINTRA,SSISScoreCardsSDM,SDM,,Executed as user: LINKDEV\OPSQLADMIN. Microsoft (R) SQL Server Execute Package Utility  Version 10.50.1600.1 for 64-bit  Copyright (C) Microsoft
    Corporation 2010. All rights reserved.    Option "    /CONNECTION" is not valid.  The command line parameters are invalid.  The step failed.,00:00:00,0,0,,,,0

  • What are the commands for compiling c++ using the command line tools for xcode?

    Hi, I am taking a class in school for c++ and i would like ot be able to practice at home i found the command line tools for xcode and went ahead and installed it on my computer. now i need to know the commands and procedure to be able to compile and run c++.

    c++ testfile.cc

  • How do I create an AppleDouble "dot-underscore" file from the command line?

    We're going through a process of migrating NetWare shares to Windows shares (without File Services for Macintosh) where I work. One concern is that the NetWare shares are shared as AFP volumes to the Macs. All the finder info and metadata for the files is thus stored natively and invisible to all the servers involved in the migration. If the Novel migrator or robocopy copy the files, resource forks and metadata are lost.
    The procedure I've provided the migration team involves making a UFS disk image, identifying files on the NetWare share that have Mac resource forks or metadata, copying the files from NetWare to the image one-by-one (whereby the OS creates the AppleDouble dot-underscore files), and then copying the dot-underscore files back to the NetWare share so that when either migration tool is used, the files correctly appear on the Windows shares in AppleDouble form with forks and metadata intact. This works reliably enough, but it involves a HUGE amount of network activity, and there's issues with making sure that the permissions are correct in the process.
    Is there a way to directly produce the AppleDouble dot-underscore file from a file on an AFP share. Things like SplitForks, RezWhack, etc. don't work on shares. I cannot find any command-line utility, AppleScript extension, Automator action, etc. to do it.

    Thank you. I am aware of that, cpio as well. The problem is that I don't want to have to copy the files, just create the dot-underscore file. For various reasons, we still need to use the Windows-based migration tools to migrate the files. So what I want is something that can read the metadata and resource fork WITHOUT making a copy of the file to produce the dot-underscore file. The solution I
    currently have for them works like tar (without the extra step of storing things in the archive or requirement of using OS X tar to unpack it).

  • Microsoft (R) SQL Server Execute Package Utility Version 10.50.2500.0 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Argument "Data connector" for option "connection" is not valid. The command line parameters are invalid.

    sql server:- 2008 r2 stardard edition
    os:- 64
    Package is password procted.
    following is command line in ssis package .
    /FILE "E:\PostgressToSql_IPMS\PostgressToSql_IPMS\PostgressToSql.dtsx"
     /DECRYPT  /CONNECTION "Server.user";"\"Data Source=server;
    User ID=user;Provider=SQLOLEDB.1;Persist Security Info=True;
    Application Name=SSIS-Package-{DD33AC67-4A45-40D6-AF70-4BBD421931C1}BPOSQLDB01\BPOSQLDB01.log4BPO;
    Auto Translate=False;\"" /CONNECTION "server.conn 1";
    "\"Data Source=server;User ID=log4BPO;Initial Catalog=edb1;
    Provider=SQLOLEDB.1;Persist Security Info=True;Auto Translate=False;
    Application Name=SSIS-Package-{665E3825-6AFC-4DD3-ABC8-50B5F0F18EEB}server.conn 1;
    \"" /CHECKPOINTING OFF /REPORTING E
    Need change something? Seperate configuaration file required ?

    Hi Dinesh,
    Based on my research, the issue is caused by you are running a SSIS package with a connection manager that has a space-character in the connection name.
    To work around this issue, please refer to the following two suggestions:
    Rename the connection manager in THE package to not include certain special characters (spaces, dashes). Note that the connection manager name can be changed without having to edit any property of the connection string itself.
    Escape quote the connection name, such that
    /CONNECTION "server.conn 1";"..."
    becomes
    /CONNECTION "\"server.conn 1\"";"..."
    The following similar issue is for your reference:
    https://connect.microsoft.com/SQLServer/feedback/details/510869/dtexec-commandline-fails-when-connection-is-passed-to-commandline-and-connection-name-contains-a-space
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How To Check Whether Physical Standby is in Sync with the Primary

    hi All,
    I'm new in data guard. In our current production, my boss is asking me to write a shell scripts monitoring physical standby and primary archive is sync (archive gap)
    I'm referring metalink [ID 861595.1], but when i ran the first query in Primary node, the screen hang.
    On primary
    ========
    SQL> SELECT THREAD# "Thread",SEQUENCE# "Last Sequence Generated"
    FROM V$ARCHIVED_LOG
    WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)
    ORDER BY 1;
    I tried to turn on 10046 SQL trace, the SQL consume a lot of CPU, and it full table scan in X$KCCAL table.
    TKPROF result look like below:
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     88.29     115.59          0          0          0           0
    total        3     88.30     115.60          0          0          0           0
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1 Optimizer mode: ALL_ROWS Parsing user id: 80 
    Rows     Row Source Operation
          0  SORT ORDER BY (cr=0 pr=0 pw=0 time=21 us)
          0   FILTER  (cr=0 pr=0 pw=0 time=19 us)
       1124    FIXED TABLE FULL X$KCCAL (cr=0 pr=0 pw=0 time=40537 us)
          0    FILTER  (cr=0 pr=0 pw=0 time=115538625 us)
       1122     HASH GROUP BY (cr=0 pr=0 pw=0 time=115530193 us)
    7465972      FIXED TABLE FULL X$KCCAL (cr=0 pr=0 pw=0 time=94648975 us)
    Elapsed times include waiting on following events:
      Event waited on                        Times   Max. Wait  Total Waited
      -----------------------------------   Waited  ----------  ------------
      SQL*Net message to client               1        0.00          0.00
      control file sequential read        16841        0.05         30.88
      SQL*Net break/reset to client           1        0.00          0.00Due to this is production environment, thus i had terminated the session, can anyone teach me or share with me any scripts to monitor physical standby is sync with primary or not? Or do you encounter the above issue when running the SQL?
    My db version is Oracle 11.2.0.1.0
    Thanks in advance.
    Regards,
    Klnghau

    Hello;
    Note 861595.1 has not been subject to an independent technical review. Not sure if that make it bad or not.
    This is what I'm using: ( I spool this to a file and have it e-mailed to me daily)
    PROMPT
    PROMPT Checking last sequence in v$archived_log
    PROMPT
    clear screen
    set linesize 100
    column STANDBY format a20
    column applied format a10
    SELECT name as STANDBY, SEQUENCE#, applied, completion_time from v$archived_log WHERE DEST_ID = 2 AND NEXT_TIME > SYSDATE -1;
    prompt
    prompt----------------Last log on Primary--------------------------------------|
    prompt
    select max(sequence#) from v$archived_log where NEXT_TIME > sysdate -1;
    Best Regards
    mseberg

  • How to check for locks on a material - without using Enqueue function

    Hi
        We have a requirement in which - we need to check the lock ( exclusive ) on a material before we call the BAPI to update the material.
    I don't want to actually lock the material before calling the BAPI - the BAPI itself acquires the lock as a part of its processing. All I want to do is to check whether lock on a material exists before calling the BAPI - thus avoiding any lock related issues on the material in the BAPI call.
    How do we just merely check whether material is locked - any standard function module /SAP tables where in material lock is stored that we use/interrogate ?
    Correct answers will be promptly rewarded.

    Hi ,
          There is standard function enqueue_read ,based on material number .
    Pass the material number to FM ENQUEUE_READ if sy-subrc = 0 then material is locked otherwise not .
    Please reward if useful.

  • I have NDS 4.16, and I have iMS 5.1 running on Sun, Solaris 8. I want to know how can I add users using the command line instead of the console. My problem is how to set the password to this user?

     

    You can use ldapmodify found in <ServerRoot>/shared/bin
    for example
    ./ldapmodify -h ldaphost -D "cn=directory manager" -w password -f <name of LDIF file>
    Here's an example LDIF file
    dn: uid=cms,ou=people,o=balius.com,o=Universe
    changetype: add
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: inetUser
    objectClass: ipUser
    objectClass: inetMailUser
    objectClass: inetLocalMailRecipient
    objectClass: nsManagedPerson
    objectClass: userPresenceProfile
    cn: Chad M. Stewart
    sn: Stewart
    initials: CMS
    givenName: Chad
    pabURI: ldap://host:389/ou=cms,ou=people,o=balius.com,o=Universe,o=pab
    mail: [email protected]
    mailDeliveryOption: mailbox
    mailHost: my.mailhost.com
    uid: cms
    dataSource: Chad by hand
    userPassword: users-password-here
    inetUserStatus: active
    mailUserStatus: active
    mailQuota: -1
    on a subsequent search you'd see something like
    userpassword: {SHA}S3e+L/K6

Maybe you are looking for

  • Purchase order and Payment terms

    Hi, My client requirement. The delivery date in PO: 25-09-2008. If the vendor pays goods delivery to us after 25-09-2008 he want to deduct 2% on po value as Late Delivery Fees. My client is asking automation of this scenario. Automatically at that ti

  • Power mac g3, preferences, at symbol?

    I have a problem, setting the at-symbol on my Power Mac G3, preferences. .mac

  • How was this trailer made?

    http://www.macheist.com/teaser I think it looks pretty cool - Apple Motion? Adobe After Effects? Both? If something else, can someone give me their best guess as well as what books to buy to learn how to do this? Already have a good 2007 FCP book (Ap

  • Performance issue of Barcode printing

    Hi Experts, I had designed a smartform using the new barcode printing technology. It works fine. The only problem is speed. I'm using se30 to analyze the performance of this smartform. If I remove the barcode, it takes less than 2 seconds for ABAP ex

  • Can I remove CS6 Premiere Pro 32-bit?

    I seem to have both the 32-bit and 64-bit versions of CS6 Premiere Pro installed. I'd like to remove the 32-bit if I can to free up space on my SSD.  Win7 OS. Any ideas? Thanks.