Archive Area Used % Testing

Hello,
- My Oracle Version 11Gr2 , RAC using ASM and OMF.
- OS Name: Redhat Linux 5.5
Issue: To test the SNMP Trap settings on database control (Not Grid Control), I would like to raise the Archive Area Used % alert. This is our test environment but important to not lose it also,
so, I would like to discuss with you the best way in simulating the Archive Area Used % alert testing with minimum down and less risk.
Cheers,
SQL> select dest_id,destination from v$archive_dest where destination is not null;
   DEST_ID               DESTINATION
         1                      USE_DB_RECOVERY_FILE_DEST
SQL>
SQL>

Vijay Tummala wrote:
DB Home -> All Metrics
expand 'Archive Area' metrics
select 'Archive Area Used (%)'
select 'DB_RECOVERY_FILE_DEST'
on the bottom left of the window, click on 'Metric and Policy Settings'
then edit the values.
hope this helps.
Thanks,
-VijayFirst, I didn't found Archive Area' metrics in ALL metrics, Second when I choose for example Recovery Area szie metric and then click on 'Metric and Policy Settings' It will show me an editable list of metrics where the Recovery Area size metric itself is not in the list!

Similar Messages

  • Advice:  Archive Log [%] of archive area [drive location\instance] is used.

    I've been handed an Oracle Database to Admin, I'm not an Oracle DBA yet-learning, and I hate to ask such a simple question but it's a a critical application and my resources are GOOGLE & META-LINK subscription (which I'll ask too) Though I think the insiight given here when browsing the forums is very nice.
    We are runing Windows 2003 64 bit oracle 10g 10.2.0.3.0
    Enterprise manager states:
    Archive Log 81% of archive area F:\InstanceNumber1
    There are 2 instances running on F: Volume
    F: \InstanceNumber1 (*Not backedup currently* ) using 2.77GB
    (been up for several months)
    ** incidentally it is also the one that gave me notification alert in EM.
    F: \InstanceNumber2 (*backedup using RMAN* 2 weekold instance) using 194GB,
    It seems extremely large.
    My question is I ran on InstanceNumber1: "SHOW PARAMETER DB_RECOVERY_FILE_DEST_SIZE" the result was 2G, this is assume is why I get that Alert.
    I ran same on InstanceNumber2: 2G, but I have not viewed the EM console much on that one, it's still in implementation-- really concerned right now more with health of "INSTANCE1" (The production stuff)
    Question What occurs if I go over??? (I pretty much assum it's gone over with 194GB on Instance2)
    note: We have archive logs on F: drive and another drive (for redundancy by default installation of the instances that Im working with)
    What's some advice/observations, Im open to anything. I think I need to delete the archives AFTER they have been backed up (Need to locate RMAN backups for instance2) .... then (Need to create a backup strategy for INSTANCE1) then delete archives too.
    select flashback_on from v$database; (shows NO) not turned for the INSTANCE1 and INSTANCE2
    Edited by: Norm on Oct 19, 2009 2:47 PM

    Norm wrote:
    I've been handed an Oracle Database to Admin, I'm not an Oracle DBA yet-learning, and I hate to ask such a simple question but it's a a critical application and my resources are GOOGLE & META-LINK subscription (which I'll ask too) Though I think the insiight given here when browsing the forums is very nice.
    We are runing Windows 2003 64 bit oracle 10g 10.2.0.3.0
    Enterprise manager states:
    Archive Log 81% of archive area F:\InstanceNumber1
    There are 2 instances running on F: Volume
    F: \InstanceNumber1 (*Not backedup currently* ) using 2.77GB
    (been up for several months)This has been up for several months and never backed up?? That needs to be corrected. If you are not familia with the process, do it through OEM. Don't worry about getting everything 'right' or 'optimal' or best .. just get a backup .. NOW!
    ** incidentally it is also the one that gave me notification alert in EM.
    F: \InstanceNumber2 (*backedup using RMAN* 2 weekold instance) using 194GB,
    It seems extremely large.
    My question is I ran on InstanceNumber1: "SHOW PARAMETER DB_RECOVERY_FILE_DEST_SIZE" the result was 2G, this is assume is why I get that Alert.
    I ran same on InstanceNumber2: 2G, but I have not viewed the EM console much on that one, it's still in implementation-- really concerned right now more with health of "INSTANCE1" (The production stuff)
    Question What occurs if I go over??? (I pretty much assum it's gone over with 194GB on Instance2) Are you in archivelog mode? If so, you won't go over, you'll just find the db just 'hangs' when it can no longer write archivelogs. It will pick itself up again when it has space to continue to write archvielogs.
    >
    note: We have archive logs on F: drive and another drive (for redundancy by default installation of the instances that Im working with)
    What's some advice/observations, Im open to anything. I think I need to delete the archives AFTER they have been backed up (Need to locate RMAN backups for instance2) .... then (Need to create a backup strategy for INSTANCE1) then delete archives too.
    select flashback_on from v$database; (shows NO) not turned for the INSTANCE1 and INSTANCE2
    Edited by: Norm on Oct 19, 2009 2:47 PM

  • Are we change nonarchive mode to archive mode using rman in enterprislinux

    how can i change nonarchive mode to archive mode using Recovery manager in enterprise linux

    Did you read the other post where you asked this same question: {message:id=3868427}

  • How to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller

    we are using VS 2013, I need to run multiple Coded UI Ordered Tests in parallel on different agents.
    My requirement :
    Example:   I have 40 Coded UI Test scripts in single solution/project. i want to run in different OS environments(example 5 OS ).  I have created 5 Ordered tests with the same 40 test cases. 
    I have one Controller machine and 5 test agent machines. Now I want my tests to be distributed in a way that every agent gets 1 Ordered test to execute. 
    Machine_C = Controller (Controls Machine_1,2,3,4,5)
    Machine_1 = Test Agent 1 (Should execute Ordered Test 1 (ex: OS - WIN 7) )
    Machine_2 = Test Agent 2 (Should execute Ordered Test 2 (ex:
    OS - WIN 8) )
    Machine_3 = Test Agent 3 (Should execute Ordered Test 3
    (ex: OS - WIN 2008 server)  )
    Machine_4 = Test Agent 4 (Should execute Ordered Test 4 (ex:
    OS - WIN 2012 server) )
    Machine_5 = Test Agent 5 (Should execute Ordered Test 5 (ex:
    OS - WIN 2003 server) )
    I have changed the  “MinimumTestsPerAgent” app setting value
    as '1' in controller’s configuration file (QTController.exe.config).
    When I run the Ordered tests from the test explorer all Test agent running with each Ordered test and showing the status as running. but with in the 5 Test Agents only 2 Agents executing the test cases remaining all 3 agents not executing the test cases but
    status showing as 'running' still for long time (exp: More then 3 hr) after that all so  its not responding. 
    I need to know how I can configure my controller or how I can tell it to execute these tests in parallel on different test agents. This will help me reducing the script execution time. 
     I am not sure what steps I am missing. 
    It will be of great help if someone can guide me how this can be achieved.
    -- > One more thing Can I Run one Coded UI Ordered Test on One Specific Test Agent?
    ex: Need to run ordered Test 1 in Win 7 OS (Test Agent 1) only.
    Thanks in Advance.

    Hi Divakar,
    Thank you for posting in MSDN forum.
    As far as I know, we cannot specify coded UI ordered test run on specific test agent. And it is mainly that test controller determine which coded UI ordered test assign to which test agent.
    Generally, I know that if we want to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller.
    We will need to change the MinimumTestsPerAgent property to 1 in the test controller configuration file (QTControllerConfig.exe.config) as you said.
    And then we will need to change the bucketSize number of tests/number of machines in the test settings.
    For more information about how to set this bucketSize value, please refer the following blog.
    http://blogs.msdn.com/b/aseemb/archive/2010/08/11/how-to-run-automated-tests-on-different-machines-in-parallel.aspx
    You can refer this Jack's suggestion to run your coded UI ordered test in lab Environment or load test.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/661e73da-5a08-4c9b-8e5a-fc08c5962783/run-different-codedui-tests-simultaneously-on-different-test-agents-from-a-single-test-controller?forum=vstest
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is anyone using testing seeing compiler lock-ups? [SOLVED]

    As the title says, is anyone using testing seeing compiler lock-ups? I've been seeing them for about two or three days. Sometimes the system will hang for a few seconds at "Starting make" with 100% CPU usage, then will continue normally. Other times it will stop in the middle of compiling and CPU usage will drop to 0. Also, I've been seeing small hang ups with patches. Maybe four or five seconds when simple patches are being applied. Bringing MAKEFLAGS down to the default 2 from 3 seems to help a tiny bit.

    fakeroot would put it in the right time frame. I linked to your bug report Anarconda as it seems like the same problem. As always if anyone has anything to add, please do:
    http://bugs.archlinux.org/task/13699

  • How can i determine which devices are used at the moment?

    Hi all,
    I am designing an interface with LabVIEW for uing agilent devices. My work colleagues will use this interface.  I want to determine which devices are used at the moment and if I determine used device, i will add automatically device names to interface's main vi. So all my work colleagues can see on the program which devices are used by another colleague. This devices are connected with GPIB. İ want to learn is there any function on Instrument I/O palette.
    Thanks,
    Omer
    Solved!
    Go to Solution.

    Hi Omer,
    so those devices are connected to the PC with a GPIB connection. Will your collegues run several DAQ programs at the same time?
    GPIB-devices being controlled by PC don't have a "in use"-signal. They wait for commands, execute them and send an answer. When you start to control them using two programs they may respond to both programs, mixing up settings/measurement values and so on.
    That being said: In MAX you can see all devices connected to your GPIB port. You could scan the GPIB port using VISA commands in your program. You might even try to access a certain device by it's VISA alias. I really don't know if you will get a "device nopt available" error message when that VISA alias is in use by a different program - but you might do a quick test on your own…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Pogo board games. What they are using?

    Hi,
    I been to Pogo.com and tested board games. All are made with JAVA.There games are 2D.
    1 - Can some one tell me what mix of techonologies they are using. Board, Poker games? .
    2 - Can we made these games with Java 2D library?
    3 - What multiplayer server they are using for multiplayer games. Any idea?
    4 - How do you find creating games with Java 2D instead of flash (any idea). Is it easy to use 2D library?
    5 - If we use 2D library than we need to know Java to work on that?
    thanks in advance.

    Pirzada wrote:
    Hi,
    I been to Pogo.com and tested board games. All are made with JAVA.There games are 2D.
    1 - Can some one tell me what mix of techonologies they are using. Board, Poker games? . Well, I would think you have answered your own question before you have even asked it--Java.
    2 - Can we made these games with Java 2D library?Yes.
    3 - What multiplayer server they are using for multiplayer games. Any idea?Are you asking if there are multiplayer gaming engines that you can incorporate into your software instead of programming it yourself?
    4 - How do you find creating games with Java 2D instead of flash (any idea). Is it easy to use 2D library?You lean Java, study the tutorials on Graphics and 2D, then write what you like.
    5 - If we use 2D library than we need to know Java to work on that?Ummm... well, yes, of course: do you have to know French to speak it?
    thanks in advance.

  • BC4J View not Thread safe, user sessions are using the same view instance

    Hi There,
    We are using BC4J that came with JDeveloper 10.1.2.0.0 with Oracle 10G 10.1.2.0.0.
    I have an BC4J account search view (BC4J AccountSearchView) that users can call to search for an account. So this view could be used by numerous users and pieces of code at the same time. Now my understanding is that each user gets their own instance of the view so changing the view's query should not be an issue (since the view definition is not changing). Under a light load the account search view looks like everyone get there own instance of the view and there expected account search results. But under a heavy user load when we have User A and User B the search query that was for User A will be used by User B. So the user results for one user will get the other users results.
    I do not understand if the view definition is been changed by the other user and is impacting all view instances. How can this occur if it is thread safe?
    I have enclosed the core code for this search.
    If you can help that would be much appreciated, thanks in advance,
    Nigel
    accountSearchView.setQuery(baseSelectQuery+generateWhereClause());
    logger.debug("SearchAccounts Query: "+accountSearchView.getQuery());
    System.out.println("SearchAccounts SQL: "+accountSearchView.getQuery());
    accountSearchView.setPassivationEnabled(false);
    accountSearchView.setForwardOnly(true);
    accountSearchView.executeQuery();
    get attributes for each row result and place in new Java bean objects and return to user.

    Nigel, we've only certified JDeveloper 10.1.2 against the Struts 1.1 with which it ships.
    If there have been any changes in Struts 1.2 to the Struts Request Processor, then this could easily have an impact on the BC4JRequestProcessor's correct functioning, depending on what the changes were.
    My quick look into the issue tells me that the ActionServlet init parameter named mapping in web.xml that we use for the 9.0.3-style BC4J/Struts integration is getting ignored by Struts 1.2. This parameter is used by Struts 1.1 to globally configure a custom ActionMapping subclass which can support additional properties. My quick test shows me that Struts 1.2 is ignoring this setting and so the oracle.jbo.html.struts11.BC4JActionMapping subclass of Struts's default ActionMapping is not getting used correctly as it does in Struts 1.1. This leads to errors when Struts tries to configure its actions in struts-config.xml since the Apache digester tries to set properties on the ActionMapping instance that don't exist (since the BC4JActionMapping has these properties, and it's not being used).
      <servlet>
        <servlet-name>action</servlet-name>
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
        <init-param>
          <param-name>mapping</param-name>
          <param-value>oracle.jbo.html.struts11.BC4JActionMapping</param-value>
        </init-param>
      </servlet>This is my quick analysis of what's not out-of-the-box compatible. I don't know enough about the changes in Struts 1.2 to know why this Struts 1.1 feature broke in Struts 1.2, or what the Struts 1.2 way to accomplish the same thing is.
    I'd encourage you to use Worldwide Support's Metalink site and open a TAR for any time-critical issues you need assistance in resolving. Many of us are constantly traveling and only able to sporadically chime in with tips in the forum as our time permits.
    The source of the BC4JRequestProcessor ships with the produce in the ./BC4J/src directory inside the bc4jstrutssrc.zip file.

  • Which clients are using my Sun One server for authentication?

    We use Sun One ver. 5.2 .
    Our LDAP clients use it for authentication.
    How can I list which clients recently used the Sun One server to authenticate?
    The reason I need that is because I want to upgrade the Sun One server and I want to notify the clients that I'm about to do it.
    Thanks.

    https://www.redhat.com/archives/fedora-directory-users/2005-September/msg00010.html
    Useful script to extract LDAP based user posixGroup memberships information
    ===
    Assuming you are using posixGroup objectclass and memberUid attribute to
    store your membership information, you may find my shell script useful
    and handy.
    It works on Solaris LDAP Client with "ldapaddent" and "ldaplist"
    commands, and works against FDS, SUN DS or OpenLDAP.
    ===
    Gary

  • Deletion of archive log using RMAN Target in Oracle 10g

    Hi All,
    I recently have noticed that the archive logs have occupied 102 GBs out of the drive and I need to free up some space. When I tried to connect RMAN Catalog using
    connect catalog user@dbI got error message as
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06445: cannot connect to recovery catalog after NOCATALOG has been usedBut I was able to get through using
    connect target user@dbMy Query is can I use
    RMAN> delete noprompt expired archivelog all;as given in [how to delete archive log file |https://forums.oracle.com/forums/thread.jspa?threadID=2321257&start=0&tstart=0]
    Or shall I take any other approach to delete the obsolete archive logs?
    Regards,
    *009*

    Hello;
    I recently have noticed that the archive logs have occupied 102 GBs out of the drive and I need to free up some space. When I tried to connect RMAN Catalog using
    connect catalog user@dbI got error message as
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06445: cannot connect to recovery catalog after NOCATALOG has been usedBut I was able to get through using
    connect target user@db
    Are you trying to connect it through Grid control ? If connecting through a script, then please post its contents.
    Make sure you are not connecting to the target database using "nocatalog".
    rman target sys/<pwd_of_target>@<target_db> catalog <catalog_schema>/<catalog_schema_pwd>@<catalog_db>
    My Query is can I use
    RMAN> delete noprompt expired archivelog all;
    as given in [how to delete archive log file |https://forums.oracle.com/forums/thread.jspa?threadID=2321257&start=0&tstart=0]
    Or shall I take any other approach to delete the obsolete archive logs?
    Regards,
    *009*Are these archives backed up ? The above command only updates the RMAN repository if in case the archives were delete manually at OS level.
    I would recommend you to backup these archives and then delete them.
    RMAN>backup archivelog all not backedup 1 times delete input;If these archives are already backed up and have not been deleted from the disk, then you can use the below command
    RMAN>delete force noprompt archivelog all completed before 'SYSDATE-n';where "n" is the number of days behind the current date. Make sure to verify if these archives have been backed up before deleting.
    Regards,
    Shivananda

  • How to skip a particular node in a script using test manager

    Hi,
    We are testing a script recorded for custom forms in R12 on two different instances using test manager.For one instance its running fine.
    But in the second instance one message note is not coming (one note which was present during recording is not there after the instance was refreshed). During Playback that node is not matching with recorded script so "object not found error is coming".Is there any way we can bypass that recording during playback through test manager ? Any kind of help is appreciated.
    Regards,
    Vishal

    Sorry for the inconvenience, Below Find detailed explanation of the issue,
    INSERT INTO XMLTABLE VALUES (4,'<?xml version="1.0"?>
    <Node_1 empID="202" empName="Pro1" oper="Update">
    <Node_2 empID="20" empName="Pro2" oper="Update">
    <Bode_3 empID="2" empName="Pro3" oper="Update">
    <Bode_4 empID="22" empName="Pro4" oper="Update">
    <Bode_5 empID="12" empName="Pro5" oper="Delete"/>
    <Bode_6 empID="223" empName="Pro6" oper="Insert"/>
    <Bode_7 empID="201" empName="Pro7" oper="All"/>
    <Node_3 empID="21" empName="Pro71" oper="ll">
    </Bode_4>
    </Bode_3>
    </Node_2>
    </Node_1>');
    I have a sequence seq_i
    seq_i start with 1 increment by 1
    am able to display output as below,
    Node|EMPID|OPER|EMPNAME|MGRID
    Node_1|202|Update|Pro1|Null
    Node_2|20|Update|Pro2|Node_1
    Bode_3|2|Update|Pro3|Node_2
    Bode_4|22|Update|Pro4|Bode_3
    Bode_5|12|Delete|Pro5|Bode_4
    Bode_6|223|Insert|Pro6|Bode_4
    Bode_7|201|All|Pro7|Bode_4
    Node_3|21|ll|Pro71|Bode_4
    Now I want below one as output
    All nodes starting with Bode_, I need to replace that with sequence, seq_i
    so for the seq_i (starting with i and incrementing by 1)
    Node|EMPID|OPER|EMPNAME|MGRID
    Node_1|202|Update|Pro1|Null
    Node_2|20|Update|Pro2|Node_1
    1|2|Update|Pro3|Node_2
    2|22|Update|Pro4|1
    3|12|Delete|Pro5|2
    4|223|Insert|Pro6|2
    5|201|All|Pro7|2
    Node_3|21|ll|Pro71|2
    Thanks,

  • Unable to find channel ID - using Test Message in RWB

    Hey all - we are using the Test Message tab of the RWB, and we get "Unable to find channel ID" as the response to our message being sent.  We are clueless what this means... since this is supposed to send straight into the engine, I'd expect something like "no interface determination" or sometimes similar - but we can't figure out what this error means.  This is the message we get, regardless of payload or interface chosen...  We even chose an interface that has already been tested & is running successfully into XI via the JMS adapter, so we know the actual path thru XI is valid. 
    Help is appreciated - I'm sure this is something silly we don't have set up that we need...

    We were hitting the Test tab after clicking the AF in RWB - you should choose the engine... it likes that much better. 

  • While in zh|ja locale, zh|ja fonts are used even for Latin... why?

    One thing that has always bothered me is that my system uses funny fonts when it is running in a non-English locale, and I think I finally found the culprit.
    When I check for font matching in English everything seems normal:
    $ fc-match -s "sans"
    DejaVuSans.ttf: "DejaVu Sans" "Book"
    DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
    DejaVuSans-Oblique.ttf: "DejaVu Sans" "Oblique"
    DejaVuSans-BoldOblique.ttf: "DejaVu Sans" "Bold Oblique"
    iYaHei.ttf: "iYaHei" "Regular"
    malgun.ttf: "Malgun Gothic" "Regular"
    kartika.ttf: "Kartika" "Regular"
    arialuni.ttf: "Arial Unicode MS" "Normal"
    But, if I were to do it in Chinese or Japanese:
    $ fc-match -s "sans:lang=zh|ja"
    iYaHei.ttf: "iYaHei" "Regular"
    DejaVuSans.ttf: "DejaVu Sans" "Book"
    DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
    DejaVuSans-Oblique.ttf: "DejaVu Sans" "Oblique"
    DejaVuSans-BoldOblique.ttf: "DejaVu Sans" "Bold Oblique"
    malgun.ttf: "Malgun Gothic" "Regular"
    kartika.ttf: "Kartika" "Regular"
    arialuni.ttf: "Arial Unicode MS" "Normal"
    DejaVuSans goes /after/ iYaHei. This is a problem, as iYaHei's Latin glyphs look horrible; its CJK glyphs, while not the best, are at least extensive, which is why I use it. For monospace it is even more of a problem, because then Arial MS Unicode, which isn't even a monospace font gets priority over DejaVu Sans Mono in zh|ja environments.
    This is my current fonts.conf:
    <fontconfig>
    <alias>
    <family>Monospace</family>
    <prefer>
    <family>DejaVu Sans Mono</family>
    <family>Arial Unicode MS</family>
    </prefer>
    </alias>
    <alias>
    <family>sans-serif</family>
    <prefer>
    <family>DejaVu Sans</family>
    <family>iYaHei</family>
    <family>Malgun Gothic</family>
    <family>Kartika</family>
    <family>Arial Unicode MS</family>
    </prefer>
    </alias>
    <alias>
    <family>serif</family>
    <prefer>
    <family>Times New Roman</family>
    <family>AR PL New Sung</family>
    <family>MS Mincho</family>
    <family>MingLiU</family>
    <family>MingLiU-ExtB</family>
    <family>MingLiU_HKSCS-ExtB</family>
    <family>MS Song</family>
    <family>UnBatang</family>
    <family>RaghuMalayalam</family>
    <family>Arial Unicode MS</family>
    </prefer>
    </alias>
    <dir>/home/sokuban/.fontmatrix</dir>
    <dir>/home/sokuban/.Fontmatrix/Activated</dir>
    </fontconfig>
    This is probably happening because while I'm in a zh|ja locale, the system is looking for the highest font on my priority list that says it is a zh|ja font and then uses it—even to cover Latin etc glyphs that fonts higher in my priority list can cover; I'm guessing this is because it is assuming that those fonts aren't suitable for use in a zh|ja environment.
    So the simplest way to solve the problem that everyone would immediately think of is to say that DejaVu can do zh|ja. I (presume) it wouldn't cause any problems even though they can't, because then they will simply borrow from real zh|ja fonts and will now at least be used in a zh|ja locale. Actually, I would want this behaviour no matter what way I decide to solve the problem.
    The other—and better—solution to the problem would be to specifically set a different priority list to be used for different languages. That way when the system looks for "sans:lang=zh_TW", it'll get DejaVu at the top of the list to handle Latin, and then a nice traditional Chinese font. Likewise if the system looked for "sans:lang=ja", it'll get DejaVu with a nice Japanese font. Before I didn't think this was possible, but now that I see how this font matching is working, it would be weird if it wasn't possible.
    Right now I have these nice Chinese/Japanese fonts installed on my system, but I don't always get to use them (mostly while browsing, if the html is nice enough). I made my system default iYaHei (and the firefly font for serif) because iYaHei covers almost all of CJK and is readable. If I were to put one of the nice Chinese or Japanese fonts as my system default, I'd end up having some glyphs being borrowed from another font, and it looks really ugly when this happens. Monolinguals don't have this problem, because they can just set their system font to their language, and then be done with it, as they'll rarely need to display any glyphs unsupported.
    If anyone can help me, especially with getting a different priority list for different languages, it would be appreciated.

    Hmm, that seems to work fine for one language, but I put 4 languages in there and only the first one I put works properly:
    This would be my fontconfig
    <fontconfig>
    <match>
    <test name="lang" compare="contains">
    <string>zh_TW</string>
    </test>
    <test name="family">
    <string>serif</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Serif</string>
    <string>Bitstream Vera Serif</string>
    <string>MingLiU</string>
    <string>MingLiU-ExtB</string>
    <string>MingLiU_HKSCS-ExtB</string>
    </edit>
    </match>
    <match>
    <test name="lang" compare="contains">
    <string>zh_TW</string>
    </test>
    <test name="family">
    <string>sans-serif</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Sans</string>
    <string>Bitstream Vera Sans</string>
    <string>Microsoft JhengHei</string>
    </edit>
    </match>
    <match>
    <test name="lang" compare="contains">
    <string>zh_TW</string>
    </test>
    <test name="family">
    <string>monospace</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Sans Mono</string>
    <string>Bitstream Vera Sans Mono</string>
    <string>WenQuanYi Zen Hei Mono</string>
    </edit>
    </match>
    <match>
    <test name="lang" compare="contains">
    <string>zh_CN</string>
    </test>
    <test name="family">
    <string>serif</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Serif</string>
    <string>Bitstream Vera Serif</string>
    <string>MS Song</string>
    <string>WenQuanYi Bitmap Song</string>
    <string>AR PL New Sung</string>
    </edit>
    </match>
    <match>
    <test name="lang" compare="contains">
    <string>zh_CN</string>
    </test>
    <test name="family">
    <string>sans-serif</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Sans</string>
    <string>Bitstream Vera Sans</string>
    <string>Microsoft YaHei</string>
    <string>WenQuanYi Zen Hei</string>
    </edit>
    </match>
    <match>
    <test name="lang" compare="contains">
    <string>zh_CN</string>
    </test>
    <test name="family">
    <string>monospace</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Sans Mono</string>
    <string>Bitstream Vera Sans Mono</string>
    <string>WenQuanYi Zen Hei Mono</string>
    <string>AR PL New Sung</string>
    </edit>
    </match>
    <match>
    <test name="lang" compare="contains">
    <string>ja</string>
    </test>
    <test name="family">
    <string>serif</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Serif</string>
    <string>Bitstream Vera Serif</string>
    <string>MS PMincho</string>
    </edit>
    </match>
    <match>
    <test name="lang" compare="contains">
    <string>ja</string>
    </test>
    <test name="family">
    <string>sans-serif</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Sans</string>
    <string>Bitstream Vera Sans</string>
    <string>Meiryo</string>
    </edit>
    </match>
    <match>
    <test name="lang" compare="contains">
    <string>ja</string>
    </test>
    <test name="family">
    <string>monospace</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Sans Mono</string>
    <string>Bitstream Vera Sans Mono</string>
    <string>MS Gothic</string>
    </edit>
    </match>
    <match>
    <test name="lang" compare="contains">
    <string>ko</string>
    </test>
    <test name="family">
    <string>serif</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Serif</string>
    <string>Bitstream Vera Serif</string>
    <string>Batang</string>
    </edit>
    </match>
    <match>
    <test name="lang" compare="contains">
    <string>ko</string>
    </test>
    <test name="family">
    <string>sans-serif</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Sans</string>
    <string>Bitstream Vera Sans</string>
    <string>Malgun Gothic</string>
    </edit>
    </match>
    <match>
    <test name="lang" compare="contains">
    <string>ko</string>
    </test>
    <test name="family">
    <string>monospace</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Sans Mono</string>
    <string>Bitstream Vera Sans Mono</string>
    <string>UnTaza</string>
    </edit>
    </match>
    <alias>
    <family>Monospace</family>
    <prefer>
    <family>DejaVu Sans Mono</family>
    <family>Arial Unicode MS</family>
    </prefer>
    </alias>
    <alias>
    <family>sans-serif</family>
    <prefer>
    <family>DejaVu Sans</family>
    <family>iYaHei</family>
    <family>Malgun Gothic</family>
    <family>Kartika</family>
    <family>Arial Unicode MS</family>
    </prefer>
    </alias>
    <alias>
    <family>serif</family>
    <prefer>
    <family>Times New Roman</family>
    <family>AR PL New Sung</family>
    <family>MS Mincho</family>
    <family>MingLiU</family>
    <family>MingLiU-ExtB</family>
    <family>MingLiU_HKSCS-ExtB</family>
    <family>MS Song</family>
    <family>UnBatang</family>
    <family>RaghuMalayalam</family>
    <family>Arial Unicode MS</family>
    </prefer>
    </alias>
    <dir>/home/sokuban/.fontmatrix</dir>
    <dir>/home/sokuban/.Fontmatrix/Activated</dir>
    </fontconfig>
    I had to put zh_TW at the very top, otherwise matching for zh_TW would pull up meiryo first. There is still one little problem in that matching for ko will pull up MS Mincho before Batang, but whatever, I don't really care that much. Meiryo and Malgun Gothic also still go before DejaVu Sans for some reason, but this again doesn't really matter, and might actually be a good thing.
    So far setting it like this seems to work to some degree. More of Niconico Douga uses Meiryo now (the search bar and stuff still uses iYaHei, but I don't think much can be done about that), if I run a program with LANG=ja_JP.UTF-8 and it has Japanese support it'll use Meiryo too. But this doesn't work with Chinese. (I guess because I had country codes in my Chinese matching rules) Oh well, this is still a step up, and Trad Chinese with a Simp Chinese font isn't as bad as Japanese with a Simp Chinese font; I've gotten used to seeing it everywhere. (Heck, the book I'm using to study Chinese now is a translation from a book made to study Simplified - and although it is a traditional book, it still uses the same simplified font.)
    EDIT: Actually, it doesn't seem to have anything to do with the program having Japanese support or not. Some programs will use Meiryo, others will completely ignore the fontconfig settings (and use iYaHei). Sonata for example, even though it had a working Japanese localization, used iYaHei, while thunar and mousepad used Meiryo.
    I used to have this bug that pretty much made working in CJK locales impossible, it took a really long time to open up terminals because of the messed up font settings. This seems to be fixed in a Japanese locale, but not a Taiwanese. Again, I guess this has to do with the country code above. (If you use a country code do you need to put a different syntax? Because other than the fc-match -s "sans:lang=zh_TW" results, the Chinese lines don't seem to have any effect—though I guess if that command shows it, they must be affected?)
    Also, I'm not sure if I've been blind and not noticed it until now, but after applying these Changes /all/ kana are using Meiryo. (Unless specified otherwise) This is both a good thing and a bad thing—no, I think it is a bad thing. Because Japanese text uses kana and kanji (CJK unified block). So now when I have a Japanese filename in thunar, the kana shows up using a proper Japanese font, but the Chinese Characters in the name show up using a Chinese font. While this is kind of okay of the fonts look similar, it isn't a good solution because not all fonts are designed to work well with each other, and my main goal in this quest is to avoid having to "borrow" from another font when the default font can't display a glyph properly. (Meiryo and iYaHei kiiinda look similar, so it isn't that bad, but if one day I decided to set my default gtk font to serif for some reason then I'll have problems for sure.) If somehow the system was able to tell if the text was Japanese or Chinese and use the appropriate font, that would be good, but I am aware that that sort of magic is impossible.
    I want the computer to be able to use the correct font when some program specifies the text is in that language (perhaps by the locale, or perhaps by the other magic method niconico uses), but I want the english locale to use iYaHei for everything just to be safe because it works.
    I have tried doing something like:
    <match>
    <test name="lang" compare="contains">
    <string>en</string>
    </test>
    <test name="family">
    <string>sans-serif</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
    <string>DejaVu Sans</string>
    <string>iYaHei</string>
    <string>Malgun Gothic</string>
    <string>Kartika</string>
    <string>Arial Unicode MS</string>
    </edit>
    </match>
    Hoping that that would allow iYaHei to be used as the main fallback while using an English locale, but that doesn't happen; it still uses Meiryo for Kana, but it uses WenQuanYi Zen Hei for Chinese, which looks even worse than Meiryo and iYaHei.
    So now I'm debating whether to use the new configurations or the old configurations. The new configurations fix a few things in Japanese locales, but cause a possibly grave problem in non-Japanese locales. I'm sure it has a few other effects too, but I didn't notice them yet.
    What exactly is this fontconfig format supposed to do? Because it clearly isn't "setting a priority list for fonts to be used in a certain language". It seems more like "setting a priority list for fonts that are labelled as a certain language". Or maybe it just does some random stuff to the fonts described. I can't tell.
    The core of the problem seems to be in the fonts themselves. Somehow, these fonts are claiming to cover "Chinese, Japanese, Korean" etc etc and while they probably do that, most can only cover 1 language in an acceptable way. Where do the fonts store this information? Is there a way to edit this?
    Last edited by sokuban (2009-12-04 19:24:41)

  • How to idtentify web services which are used in the web application?

    Hi All,
    We need to identify all the web services that a web application is using. We need them so that we can use test them. We are a group of independent testers. We have access to IIS server's on which the application is hosted. Is there any way we can identify
    them other than seeking out the DEV team to give out the list?
    Thanks in advance.
    Regards,
    Umesh

    Hello,
    You have posted your query in the Project / Project Server forum, is this related to Microsoft's Project / Project Server? If not, you are better off posting this in one of the development forums. If you are unsure where to post, try here first:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=whatforum
    In the mean time, you could look at using something like Fiddler:
    http://www.telerik.com/fiddler
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • In LabVIEW OI the Run Selected Step Using Test UUTs does not work

    TestStand LabVIEW Operator Interface (old style) - TestStand Version 2.0.1 & 3.0
    The Interactive option was enabled for the Process Model Entry Point - Test UUTs in the SequentialModel.seq.
    When selective steps were selected to run within the LV OI using the menu item 'Run Selected Step Using - Test UUTs' it was found not to work.
    The reason for it not working was because the main event string was "Run Selected Step 0" but this isn't available in the case statement. Changing the "Run Selected Step 1".."Run Selected Step 9999" to "Run Selected Step 0".. didn't produced the desired result. Instead of the selected steps running using the entry point Test UUTs, the steps ran without the process model.
    The Case Statement string was retored back to "Run Selected Step 1".
    The changes that are required to make the "Run Selected Step 1".."Run Selected Step 9999" work with either of the Entry Points are as follow.
    In the VI TestStand - Create Entry Point Menus for Interactive Exec.vi
    Insert an Increment from the iteration terminal of the FOR loop. This ensures the Message Queue string generated is in the range 1 - 9999 not 0 - 9999.
    In the TestStand - Sequence Display.vi
    For the Main Message Event "Run Selected Steps", "Run Selected Step 1".."Run Selected Step 9999"
    In the case "1, Default", decrement the input 'Entry Point Index' to the VI TestStand - Start Interactive Entry Point Execution.vi. This ensures the Entry Point Index starts from the value 0.
    Now when the selected steps are run using a Pocess Model Entry Point, they run correctly.
    This problem only appears to affect the LabVIEW Operator Interface and only the old style. The new style that comes with TestStand 3.0 runs correctly.
    There is one other problem. When an Operator is logged in to TestStand, the Entry Point - 'Single Pass' is disabled. But this is not reflected to the menu item 'Run Selected Step Using'. Both 'Test UUTs' and 'Single Pass' are available to the operator.
    The reason for this is because in the VI 'TestStand - Create Entry Point Menus for Interactive Exec.vi' the sub menu item is enabled as a result from the property Sequence.AllowInteractiveExecutionOfEntryPoint. This is not enough to disable the 'Single Pass'. The Engine.CurrentUserHasPrivilege needs to be checked as well. Which means modications to the VI 'TestStand - Create Entry Point Menus for Interactive Exec.vi'.
    Hope is maybe of help to anyone that may need to use this option.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    In_Labview_OI_-_Run_Selected_Steps_Using_Test_UUTs_doesnt_work.txt ‏3 KB

    Thanks Ray for the "heads-up". )
    I am about to implement a vi which calls TestStand functions. This vi will allow to select tests and permits test re-entry (loops) if the user has supervisor privileges.
    I will consider what you recommend in this string.
    I will also provide feedback on this thread if I discover anything .... let's say "unusual"..
    On another note, I am using TestStand 3.0 I have not observed any problems when running selected steps or run selected steps using single pass. I have also within TestStand set privileges for certain Operators to do the same. They have not reported any problems.
    Thanks,
    JLV

Maybe you are looking for

  • How can I create a tree hierarchy in Adobe Flash with WD Java?

    Hello! I've started to learning RIAs based on WD Java and Adobe Flash. Now I need to create application with tree hierarchy. Nodes of hierarchy must be able to collapse and expand. Hierarchy must looks like in https://www.sdn.sap.com/irj/scn/go/porta

  • 1.4.2 - What is the correct way to format output in the java.io.PrintStream

    With Java 1.4.2: What is the correct way to format output in the java.io.PrintStream? The following is incorrect, even though it is still used in the The JavaTM Tutorial at: http://java.sun.com/docs/books/tutorial/essential/ System.out.formatThis ret

  • Can I upgrade to the OS X Mavericks?

    I have recently purchased an early 2011 Macbook Pro 15"  It has 10.6.8 installed on it, can I safely upgrade to the OS X Mavericks?  Im a new Mac user, this is my first Mac. I purchased it online, refurbished, dont know if that matters or not.  But I

  • I would like to Implement the TREX

    Hi All, Our current portal version is 7.0 sp9 . i would like to know , What is the procedure for  checking, whether TREX is installed in my system or not. If it is installed , what are the madatory things or check list  for checking the all the insta

  • MDX Question - roll up to parent value

    Hi, I have a relatively simple issue that I am not able to solve. I have the following calculation as a calculated member in my cube: SUM([Territory].[State - City Hierarchy].[City].CurrentMember.Parent, [Measures].[Total Sales]) What I would expect