Is it possible to make db_verify more verbose?

db_verify has no verbose flag -v yet.
If there are errors these are printed.
I'd like db_verify to output something like "DB xy verified without errors" if all was fine.
Thanks,
gbkka

Hi gbkka,
Why would you add an unnecessary option/success message in the main product? DB->verify returns 0 on success and db_verify utility exits 0 on success.
This is the beauty of open source software, you can hack Berkeley DB (for 4.7.25 release I would look in db_verify/db_verify.c - line 242) and return whatever success message you want to have for the db_verify utility.
Bogdan

Similar Messages

  • Is it possible to make db_recover more verbose?

    If you use db_recover there seems to be never anything on the standard output. I'd like to get an info from db_recover what it has done (if anything).
    db_recover -v results in nothing, if done again results in
    Finding last valid log LSN: file: 1 offset 28
    But I have no idea what this means.

    Thanks for the additional explanation,
    Normal recovery examines the contents of your environment's
    log files, and uses this information to ensure that your
    database files are consistent relative to the information
    contained in the log files. This ensures that the changes
    from each committed transaction appear in the database, and
    that no changes from an unfinished (or aborted) transaction do.
    Therefore if you are not using transactions/logging there is
    no recovery. Hence, db_recover is not the right choice
    in this case. The verbose flag is not showing anything, as
    there is nothing to do. The recovery process will create a new log,
    and that is what is being read on your 2nd pass.
    The documentation in the Reference Guide on Berkeley DB recovery at:
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/reclimit.html
    details how Berkeley DB recovery is based on write-ahead logging.
    From that documentation:
    This means that when a change is made to a database page, a
    description of the change is written into a log file. This
    description in the log file is guaranteed to be written to
    stable storage before the database pages that were changed
    are written to stable storage. This is the fundamental feature
    of the logging system that makes durability and rollback work.
    If the application or system crashes, the log is reviewed during
    recovery. Any database changes described in the log that were
    part of committed transactions and that were never written to
    the actual database itself are written to the database as part of recovery.
    Any database changes described in the log that were never committed
    and that were written to the actual database itself
    are backed-out of the database as part of recovery. This design
    allows the database to be written lazily, and only blocks from
    the log file have to be forced to disk as part of transaction commit.
    Thanks again,
    Sandra

  • Make pacman more verbose?

    Is there a way to make pacman more verbose in showing what packages are being installed or updated?
    For example, when doing a system update, you get a long list of packages that will be downloaded and installed. Most of them are packages you already have, but some may be new packages, pulled in as a new dependency of something else. I would like to more easily see if a package is a new install or an update, and what is causing the new packages to be installed.
    I used to use FreeBSD, and it's ports system did this. You do a system update, and it would list all of the packages to be installed, one per line. Each line indicated whether it was an update or a new install, if it was an update it showed the old -> new version numbers, and if it was a new install it showed what package depended on it.
    I haven't been able to find a way to make pacman do this, though I would be happy to be proven wrong. I've toyed with the idea of getting my hands dirty and writing some pacman patches to add this as an option, but I'd like to see if there are other solutions other people know about.

    Using yaourt -Syua:
    ==> Package upgrade only (new release):
    extra/libgnome-keyring 3.6.0-1 1 -> 2
    extra/mesa 9.1-2 2 -> 3
    ==> Software upgrade (new version) :
    core/filesystem 2013.01-3 -> 2013.03-2
    core/iptables 1.4.16.3-1 -> 1.4.18-1
    core/iproute2 3.7.0-1 -> 3.8.0-1
    core/libffi 3.0.11-1 -> 3.0.12-1
    core/systemd 197-4 -> 198-1
    core/systemd-sysvcompat 197-4 -> 198-1
    core/tzdata 2013a-1 -> 2013b-1
    extra/dbus-glib 0.100-1 -> 0.100.2-1
    extra/gconf 3.2.5-3 -> 3.2.6-1
    extra/git 1.8.1.5-1 -> 1.8.2-1
    aur/google-chrome 25.0.1364.160-1 -> 25.0.1364.172-1
    ==> Continue upgrade ? [Y/n]
    ==> [V]iew package detail [M]anually select packages
    ==> --------------------------------------------------
    Also if there's any new package installed as a dependency to some other package, you are also acknowledged about it.

  • Possible to make pacman less verbose?

    Hi,
    During updates your sometimes see pacman print a whole list of signed keys that it has been updated, even those that have not changed. Would it be possible to remove this output?
    I do like package signing but I prefer not to be bothered with it at all as long as the keys seem to match. I feel it is something that should be handled behind the scenes and not confuse the user. Let's not forget that most UNIX programs only print things to the screen when something has gone wrong.
    This was just a friendly suggestion. Thank you for all the hard work

    @karol: Ah great. I will write my requests on the bugtracker in the future.
    @ngoonee: To explain this "most UNIX programs" thing I wrote. It is a fairly well known philosophy that a program should not print to stdout if everything works as it should. Look at the how rm, cp, mv, mount, ln et.c. works, they don't tell you that what you just did worked, they only print stuff when something doesn't and they do that on stderr. These are the programs I refer to when I talk about "most UNIX programs". I thought this concept was actually well known among Linux enthusiasts.
    There are good reasons behind this philosophy. Firstly printing something like writing an OK does not give you any more information compared to giving you nothing at all when you know beforehand a message not seen is a program that works. Imagine cp wrote "I copied file x to y" every time it worked and you have a script that does 50 cps in a row and all of them worked you would end up with a log with 100% useless information. Now this is not exactly true because usually programs print to stdout vs stderr and you could only redirect stderr but there are instances where you need to log non-error messages as well, probably because someone didn't care about sending errors to the correct file descriptor which is not very uncommon.
    It doesn't add anything for scripting purposes either. It is much easier to check the exit status and check that it is zero than having to grep for some particular text. Often people in general write to much data to stdout, it is convenient but what they actually are doing is writing what is essentially log/debug messages to stdout. This is not what stdout is for.
    I hope this explained it better.
    @2ManyDogs: I don't mean pacman should remove ALL output, only the key-related stuff. The comparison was made as a reminder.

  • Is it possible to make st more responsive?

    I like st - it's lean and mean and slow as hell e.g. when I use the cursor keys.
    OK, so the last one is hardly a virtue, but maybe we can teach st to behave more like urxvt, which is a faster, but more complex piece of software and uses more memory.
    I'm using st with tmux, because st doesn't have a built-in scrollback buffer. st is pretty slow when moving around with cursor (or hjkl) keys, deleting with backspace or even selecting some text with my mouse, but it may be because of my old hardware, font settings or something else. If you want some info, tell me what exactly should I post.
    st alone (w/o tmux) is just as slow. Yes, I know about the nice ways you can copy with tmux, move around with vim and bash+readline, but st still feels sluggish.
    I'm happy with dwm+urxvtd, but I wanted to try something different and tmux is so sweet. st has no built-in tabs support and I yes, I know about 'tabbed', but I want to be tabs-less for a while.
    Any st users out there?
    I'm too afraid to post on the suckless ML ;P

    I've changed acceleration method to the semi-legacy uxa and my st experience has magically improved.
    Setting 'xset r' to something more aggressive, like 'xset r rate 200 30' doesn't hurt either.

  • Is it possible to make an app that is like a three way (or more) instant messenger?

    so me and my frineds all ways text eachother. but we wanna know what other pople say to each other too. so is there an app that has 3 way instant messaging? is it possible to make one? if i knew how to use xcode and make apps i would get on it, but i dont. so im asking you guys for help.

    jtbullet wrote:
    app place the pdf when it is compiled?
    Assuming the pdf is contained in the application folder when the app is then compiled? Is the pdf contained in the app, or does it get installed somewhere?
    Sure, you can create an app that only opens up a PDF. The usual place for that kind of stuff is in the application's bundle, which Xcode will do if you add the PDF to your project.
    charlie

  • Top-Level Navigation Bar - Is it possible to make it 3 levels?

    Dear Portal Experts,
    Could someone please advise if it is possible to make the Top-Level Navigation Bar show more than 2 menu levels?  I looked at the document and it said we can only have 1 or 2 levels.  But I'm just wondering if there is any way around it.  Thanks.

    yes you are right .we can set only 1 0r 2 levels but good news is there is a workaround
    follow this blog
    Tag  Libraries: Creating a Hover Menu in SAP NetWeaver Portal
    reward points if helpful

  • MFL: The dependency is not configured in schema resource. Possible reason one or more import/include is not set   correctly.

    HI Friends,
    I have a created a MFL to transform XML to Non XML format. When am generating a XSD out of this MFL am getting this Error:
    The dependency is not configured in schema resource. Possible reason one or more import/include is not set
    correctly.
    Here is the snippet of the XSD:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl"/>........
    Later Part i have searched for mfl.xsd in com.bea.wli.core.mflengine_1.x.x.x.jar in my.........../Oracle_OSB1/modules  and imorted this XSD into my eclipse workspace.
    Then i added the schemalocation attribute to the Import element. which looks something like below:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl" schemaLocation="../../mfl.xsd" />......
    After doing these changes also am getting the same error... can anyone help me out of this????

    Hi Arun,
    Also in SB console we can refer xsds from other projects but again OEPE doesnt seem to support that we will have to make duplicate copies of the resources in each project.It is not like that if you are using OEPE then you can not refer resources from other projects. Just what you need to do is that give relative path of the resource which is there in the file system. It does not matter that to which project it belongs. Yes, now with OEPE, you have to do this manually.
    Regards,
    Anuj

  • Is it possible to make two type of partitions onto an external drive?

    Hi,
    I'm on an intel iMac using Tiger and I know to back up my hard drive I need to choose the GUID partition and Mac OS Extended (Journaled) in order to be able to boot from the partition.
    So if I make 4 partitions is it possible to make 3 partitions GUID Mac Extended (Journaled) and then make 1 that is Apple Partition Map? I tried it and I couldn't figure it out using my Tiger Install disk and selecting Disk Utility option.
    My sister is using a Powerbook PC G4 also using Tiger and I want to make a bootable copy for her as well but just wondering if this can be done?
    S.

    Niel,
    Thanks, so if I format it all as APM I can either clone OSX 10.4.11 which I have on my internal now. If I do a backup of my intel and Powerbook PC both of those will already have Tiger on them so do I need to do another Tiger install on each of those partitions?
    Also by doing it this way I can't boot from a parition onto my intel can I?
    Guess I'll have to weigh whose system is more important or just back up her drive as GUID on my computer and she can restore from it if she has too but won't be able to boot from it.
    S.

  • Is it possible to make an air application maximizable/non-maximizable programmatically at runtime?

    Is it possible to make an air application maximizable/non-maximizable programmatically at runtime?

    Sort of. Technically it's a NativeWindow which is maximizable or not, not the app itself. A NativeWindow is created as maximizable or not via NativeWindowInitOptions, and it can't be changed after it's created. Now, when you setup the "default content" window options with AIR, the runtime is basically creating the first window for you as a convenience, with those settings. However, there's nothing stopping you from making your initial content nothing more than a hidden window which will create a new window as maximizable or not. At this point, it would not be hard to re-create your main window with different maximizable values. (This is also how I implement multiple-instance/window apps, since only 1 AIR app can be running at a time.)
    Hope that helps!
    -Aaron

  • Is it possible to make an adjustable web page ??

    Is it possible to make an adjustable web page so that when different people view it its able to adjust its size so that it can fit exact on their screens.

    Hi
    The technique you are looking for is called liquid or fluid layout.
    For a tutorial and more info see - http://www.adobe.com/devnet/dreamweaver/articles/bk_dwcs4_mastering_css.html
    and  http://www.adobe.com/devnet/dreamweaver/articles/css_starter_pages.html.
    PZ

  • Is it possible to make an iphoto book that has all text on a page?  I want to have some pages with mostly text.

    Is it possible to make an iphoto book that has mostly text on some of the pages?  I would like to make a book that has more text than photos on some pages.

    Of course (at least in some themes - travel for sure) - have you looked at the available layouts?
    LN

  • It's possible to make Hierarchical Tree from multiple tables ?

    the famous example for Hierarchical Tree is about employee_id and manager_id field in employees table ............ so I was wondering it's possible to make[b] Hierarchical Tree from multiple tables ? and How ??
    if the answer associate with example that will be so kind of you :D
    and thanks in advance.

    HI
    use curose in when new form instance or procedure then u can got data more then one table like that
    DECLARE
    htree ITEM;
    top_node FTREE.NODE;
    new_node FTREE.NODE ;
    child_node ftree.node ;
    item_value VARCHAR2(30);
    cursor prime_cur is select main_desc mgr_name, main_code dept
    from pur_item_group_mst;
    cursor child_cur(v_dept number) is select sub_desc,sub_code
    from pur_item_group_dtl where main_code = v_dept ;
    BEGIN
    htree := Find_Item('tmp.tree4');
    for dummy in prime_cur loop
    new_node := Ftree.Add_Tree_Node(htree,
    ftree.root_node,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    dummy.mgr_name,
    'D:\ORYX_POLYBAGS\accept',
    dummy.dept);
    for child in child_cur(dummy.dept) loop
         child_node := Ftree.Add_Tree_Node(htree,
    new_node,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    child.sub_desc||' '||'('||child.sub_code||' '||')',
    'D:\ORYX_POLYBAGS\next',
    child.sub_code);
    end loop;
    end loop;
    END;
    Rizwan Shafiq
    www.rizwanshafiq.blogspot.com

  • I downloaded a handwritten doc that is illegible, can I make it more clear to read?

    The document is an old birth certificate. I can't read the names of the mother and father. I wonder if thebirth certificate department will help me?
    In the meantime, does any one know of a tool that makes writing more legible? (I've seen such a thing on television crime movies.

    What kind of document is that and how bad does it look?
    Is it a PDF file or an image file (JPG, PNG, TIFF) or something else?
    If you can extract it as an image then you can try to improve the contrast or gamma with an image editor or use other filters in such a program. It may not be possible to do much about this if the quality is really bad.

  • Make dock more transparent/translucent?

    hello
    is it possible to make the dock less opaque. it's very grey and (because i wanted a mac for so long) i had something called object dock for PC, which basically is there same thing. on this object dock, however, it was possible to make the grey background of the dock more transparent, and i've looked everywhere on my mac (which is new so still don't really know what i'm doing!) and haven't managed to find a way to change it
    if anyone can answer my question that'd be great
    thanks
    tom

    You can use a third party application called ClearDock which I have used for years with no problems at all.
    Miriam

Maybe you are looking for

  • Using mysql-connector-java-5.0.5 from oracle's java procedure.

    I need to write the java procedure in Oracle, which will get connection to mySQL server and put some data into it. I am using official mysql-connector-java-5.0.5 driver for this job. Java class for this job work well outside the Oracle. The problem i

  • Notes at the Item level is not getting Copied

    Hi All, When a quotation is copied by clicking on the "Copy" button, the new quotation has all the Notes copied at the header level. But all the Notes maintained at the Item level dosent get copied. The Copy control has been maintained between the It

  • Error in user account-SU01

    Hi, I am working with SRM5.0. I have observed a problem in accessing an user account. When I try to open the userid in SU01, I get a message: Internal error - insert in sorted tabl ZADRU 10000000105890000011257INT001AD_DEFAULT This user is a part of

  • MDX Formula - Not Getting the Desired Results

    Hi All, I have the following formula that I am using to calculate the "Average Daily Volume MTD" but if I drilldown into the Products dimension then I don't see any values. It seems like it's only calculating the values at the top level (GEN1). CASE

  • PO message output problem

    Dear Friends, In ME9F message output...when i am looking PO output in Display message.... 1.The  ECC No. of my company is showing blank  and 2.The contact person name is coming of my company,suppose 'xyz' and i want to change it with partcular person