Author: llknutsen_f34x7f

  • Test Post

     

    This is a Test Post

     

    Header 1

    ajdkljfl kdajsd lldsajkl fjlasdj faskdj sdkajf lksadj sdaklj sadl;k

    Header 2

    ajdkljfl kdajsd lldsajkl fjlasdj faskdj sdkajf lksadj sdaklj sadl;k

    Header 3

    ajdkljfl kdajsd lldsajkl fjlasdj faskdj sdkajf lksadj sdaklj sadl;k

    Header 4

    ajdkljfl kdajsd lldsajkl fjlasdj faskdj sdkajf lksadj sdaklj sadl;k

    Header 5

     

    ajdkljfl kdajsd lldsajkl fjlasdj faskdj sdkajf lksadj sdaklj sadl;k

     

    Heading 6

     

    ajdkljfl kdajsd lldsajkl fjlasdj faskdj sdkajf lksadj sdaklj sadl;k

     

    Bold –

    ajdkljfl kdajsd lldsajkl fjlasdj faskdj sdkajf lksadj sdaklj sadl;k

    Italics

    ajdkljfl kdajsd lldsajkl fjlasdj faskdj sdkajf lksadj sdaklj sadl;k

     

    Preformatted

    -----------------------------------------------------------------------------
    -- Module: @(#)chunkio.sql	1.0     Date: 2019/09/01
    -- Author: Lester Knutsen  Email: lester@advancedatatools.com
    --         Advanced DataTools Corporation
    -- Description: 
    --	Provides chunk IO and information
    --	Tested with Informix 12.10 and Informix 14.10
    -----------------------------------------------------------------------------
    database sysmaster;
    -- unload to chunkio.uld
    select 
    	-- How long has the server been running
    	current current_time,
    	( select DBINFO ('utc_to_datetime',sh_pfclrtime) from sysshmvals )  stats_reset_time,
    	( select  (ROUND (( sh_curtime - sh_pfclrtime)/60)) from sysshmvals ) minutes_since_stats_reset,
    	-- Dbspace Information
    	name dbspace,
    	chknum  chunks_number,
    	sum( chksize ) size_in_pages,
    	sum( nfree ) free_pages,
    	-- Estimate Size in KB using base page value
    	( sum( chksize ) * ( select trunc(( sh_pagesize /1024 )) from sysshmvals )) size_kb, 
    	( sum( nfree ) * ( select trunc(( sh_pagesize /1024 )) from sysshmvals )) free_kb, 
    	-- Base Performance Info
    	sum( pagesread ) pagereads,
    	sum( pageswritten ) pagewrites,
    	sum( reads ) num_reads,
    	sum( writes ) num_writes,
    	sum( readtime ) usecs_readtime,
    	sum( writetime ) usecs_writetime,
    	-- Ratio of pages per read (Read ahead)
    	case
    		when sum( pagesread ) = 0 then 0
    		when sum( reads )= 0 then 0
    		else
    			( sum( pagesread ) / sum( reads )) 
    	end pages_per_read,
    	-- Ratio of pages per write (Write ahead)
    	case
    		when sum ( pageswritten ) = 0 then 0
    		when sum ( writes) = 0 then 0
    		else 
    			( sum( pageswritten ) / sum( writes )) 
    		end pages_per_writes,
    	-- Ratio of page reads per minute
    	case
    		when sum( pagesread ) = 0 then 0
    		else
    			( sum( pagesread ) / (( select  (ROUND (( sh_curtime - sh_pfclrtime)/60)) from sysshmvals ))) 
    	end pages_read_per_minute,
    	-- Ratio of page writes per minute
    	case
    		when sum( pageswritten ) = 0 then 0
    		else
    			( sum( pageswritten ) / (( select  (ROUND (( sh_curtime - sh_pfclrtime)/60)) from sysshmvals )))
    	end pages_read_per_minute,
    	-- Percent of IO of Total
    	round(	sum( pagesread ) / ( select sum( pagesread ) from sysmaster:syschktab ) , 2) total_io_read_percent,
    	round(	sum( pageswritten ) / ( select sum( pageswritten ) from sysmaster:syschktab ) , 2) total_io_write_percent
    from 	sysmaster:syschktab c, sysmaster:sysdbstab d
    where     c.dbsnum = d.dbsnum
    group by 1,2 ,3 ,4, 5
    order by 4 desc;
    
    

     

    Link to my pictures: https://www.lesterknutsen.com

     

     


     

  • Tips For Better Writing

    Plan Your Content

    laptop

    If you’re considering adding a blog to your site, you’ll want to have a plan beforehand. Planning your blog will help your subject matter remain consistent over time. It’ll also help you determine whether or not there’s enough material to maintain a steady stream of posts.

    One pitfall many new bloggers run into is starting a blog that isn’t posted to frequently enough. A shortage of recent posts can give your visitors a bad impression of your business. One may think “I wonder if they’re still in business” or “they may want to hire a writer.”

    A blog, like any other customer facing aspect of your business, communicates your brand. If it isn’t maintained and given proper attention, people will notice. Post regularly and keep your content fresh. Give your audience a reason to visit often.

    Read more >

  • Basic Taxonomies

    Categories and Tags

    desktop

    If you write about a variety of subjects, categories can help your readers find the posts that are most relevant to them. For instance, if you run a consulting business, you may want some of your posts to reflect work you’ve done with previous clients, while having other posts act as informational resources. In this particular case, you can set up 2 categories: one labeled Projects and another labeled Resources. You’d then place your posts in their respective categories.

    Read more >

  • Blogging 101

    Pages vs. Posts

    clock

    If you’re new to WordPress you may be wondering what’s the big deal behind Pages and Posts. At first glance they appear to be one and the same: if you were to create either a new page or a new post you’d be presented with nearly identical interfaces and in many cases the public appearance of pages and posts will look the same.

    Don’t let this fool you. There’s a very fundamental difference between the two and that difference is what makes CMSs, like WordPress, great platforms for integrating blogs with traditional websites.

    Pages

    Think about the kind of pages that make up a typical website. Most often you’ll see pages like “Home”, “About Us”, “Services”, “Contact Us”, etc. Within WordPress these are often treated as Pages; documents that have no particular regard for the time they were posted.

    For example, when you visit the “About Us” page of your favorite company’s website you don’t expect the content to be very different from what was available there a week ago.

    Read more >

  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!