{"id":26205,"date":"2025-07-21T15:45:25","date_gmt":"2025-07-21T12:45:25","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/"},"modified":"2025-07-21T15:45:25","modified_gmt":"2025-07-21T12:45:25","slug":"bash-milisaniye-cinsinden-zaman-alma-orneklerle","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/","title":{"rendered":"Bash: Milisaniye Cinsinden Zaman Alma (\u00d6rneklerle)"},"content":{"rendered":"<p># Bash&#8217;te Milisaniye \u00d6l\u00e7\u00fcm\u00fc: Ad\u0131m Ad\u0131m Tam Bir Rehber<\/p>\n<p>Bash beti\u011fi yazarken zamanlama kritik \u00f6nem ta\u015f\u0131yor.  Bir i\u015flemin ne kadar s\u00fcrd\u00fc\u011f\u00fcn\u00fc \u00f6l\u00e7mek, performans sorunlar\u0131n\u0131 tespit etmek veya zamanlanm\u0131\u015f g\u00f6revleri y\u00f6netmek i\u00e7in milisaniye hassasiyetinde zaman \u00f6l\u00e7\u00fcm\u00fc gerekli olabilir.  Bu makale, Bash&#8217;te milisaniye hassasiyetinde zaman\u0131 nas\u0131l elde edece\u011finizi ad\u0131m ad\u0131m, yeni ba\u015flayanlardan ileri seviye kullan\u0131c\u0131lara kadar kapsayacak \u015fekilde a\u00e7\u0131klayacakt\u0131r.  Farkl\u0131 y\u00f6ntemleri kar\u015f\u0131la\u015ft\u0131rarak en uygun olan\u0131 se\u00e7menize yard\u0131mc\u0131 olacak ve ger\u00e7ek d\u00fcnya senaryolar\u0131na dayal\u0131 \u00f6rnekler sunaca\u011f\u0131z.<\/p>\n<p><strong>Bash&#8217;te Zaman \u00d6l\u00e7\u00fcm\u00fc: Temel Kavramlar<\/strong><\/p>\n<p>Bash&#8217;in yerle\u015fik <code class=\"language-\">date<\/code> komutu, saniye hassasiyetinde zaman bilgisini sa\u011flar. Ancak milisaniye hassasiyetine ihtiya\u00e7 duydu\u011fumuzda, daha geli\u015fmi\u015f teknikler kullanmal\u0131y\u0131z.  Bunun i\u00e7in genellikle <code class=\"language-\">\/proc\/uptime<\/code> dosyas\u0131ndan veya <code class=\"language-\">gettimeofday<\/code> sistem \u00e7a\u011fr\u0131s\u0131ndan yararlanabiliriz.  <code class=\"language-\">\/proc\/uptime<\/code> dosyas\u0131, sistemin ne kadar s\u00fcredir \u00e7al\u0131\u015ft\u0131\u011f\u0131n\u0131 saniye cinsinden g\u00f6sterir, ancak baz\u0131 hesaplamalar ile milisaniye d\u00fczeyinde bilgi \u00e7\u0131karabiliriz. <code class=\"language-\">gettimeofday<\/code> ise C dilinde yaz\u0131lm\u0131\u015f yard\u0131mc\u0131 programlar arac\u0131l\u0131\u011f\u0131yla eri\u015filebilir ve daha do\u011frudan milisaniye bilgisi sunar.<\/p>\n<p><strong>Bash&#8217;te Milisaniye \u00d6l\u00e7\u00fcm\u00fc: Ad\u0131m Ad\u0131m Uygulamal\u0131 K\u0131lavuz<\/strong><\/p>\n<p><strong>\u00d6\u011frenme Yol Haritas\u0131:<\/strong><\/p>\n<p><strong>Yeni Ba\u015flayan:<\/strong><\/p>\n<p><strong>Ad\u0131m 1:<\/strong> <code class=\"language-\">\/proc\/uptime<\/code> dosyas\u0131n\u0131 okuma<\/p>\n<p><code class=\"language-\">\/proc\/uptime<\/code> dosyas\u0131, sistemin \u00e7al\u0131\u015ft\u0131\u011f\u0131 s\u00fcreyi saniye ve ondal\u0131k k\u0131s\u0131m olarak g\u00f6sterir.  Ondal\u0131k k\u0131s\u0131m, saniyenin kesirli k\u0131sm\u0131n\u0131 temsil eder.  Bu bilgiyi kullanarak milisaniye hesaplamas\u0131 yapabiliriz.<\/p>\n<pre class=\"language-bash\"><code>uptime=$(&lt;\/proc\/uptime)\nseconds=$(echo $uptime | cut -d. -f1)\nmilliseconds=$(echo $uptime | cut -d. -f2)\nmilliseconds=$((milliseconds * 10)) # Milisaniyeye \u00e7evirme\n\necho &quot;Sistem \u00e7al\u0131\u015fma s\u00fcresi: $seconds saniye $milliseconds milisaniye&quot;<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">\/proc\/uptime<\/code> dosyas\u0131n\u0131 okur, saniye ve milisaniye de\u011ferlerini ay\u0131r\u0131r ve milisaniye de\u011ferini hesaplar.  Ancak bu y\u00f6ntemin do\u011frulu\u011fu s\u0131n\u0131rl\u0131d\u0131r ve sistemin yeniden ba\u015flat\u0131lmas\u0131ndan bu yana ge\u00e7en s\u00fcreyi \u00f6l\u00e7er.<\/p>\n<p><strong>Ad\u0131m 2:<\/strong>  Basit bir i\u015flemin s\u00fcresini \u00f6l\u00e7me<\/p>\n<p>\u015eimdi, basit bir komutun \u00e7al\u0131\u015fma s\u00fcresini milisaniye hassasiyetinde \u00f6l\u00e7meyi deneyelim:<\/p>\n<pre class=\"language-bash\"><code>start=$(date +%s%N)  # Nano saniye hassasiyetinde ba\u015flang\u0131\u00e7 zaman\u0131\nsleep 1             # 1 saniye bekleme\nend=$(date +%s%N)    # Nano saniye hassasiyetinde biti\u015f zaman\u0131\n\nelapsed=$(( (end - start) \/ 1000000 )) # Milisaniyeye \u00e7evirme\n\necho &quot;\u0130\u015flem s\u00fcresi: $elapsed milisaniye&quot;<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">date +%s%N<\/code> komutu ile nano saniye hassasiyetinde zaman\u0131 al\u0131r, i\u015flemi ger\u00e7ekle\u015ftirir ve s\u00fcreyi hesaplar.  Sonu\u00e7 milisaniye cinsinden g\u00f6sterilir.<\/p>\n<p><strong>Orta Seviye:<\/strong><\/p>\n<p><strong>Ger\u00e7ek Hayat \u00d6rne\u011fi:<\/strong>  Dosya kopyalama i\u015fleminin s\u00fcresini \u00f6l\u00e7me<\/p>\n<p>Bir dosyan\u0131n kopyalanma s\u00fcresini milisaniye hassasiyetinde \u00f6l\u00e7mek istedi\u011fimizi varsayal\u0131m.  A\u015fa\u011f\u0131daki kod bu i\u015flemi ger\u00e7ekle\u015ftirir:<\/p>\n<pre class=\"language-bash\"><code>start=$(date +%s%N)\ncp b\u00fcy\u00fck_dosya.txt kopyalanan_dosya.txt\nend=$(date +%s%N)\nelapsed=$(( (end - start) \/ 1000000 ))\necho &quot;Dosya kopyalama s\u00fcresi: $elapsed milisaniye&quot;<\/code><\/pre>\n<p>Bu \u00f6rnekte, <code class=\"language-\">b\u00fcy\u00fck_dosya.txt<\/code> yerine kendi b\u00fcy\u00fck dosyan\u0131z\u0131 kullanabilirsiniz.  Bu, ger\u00e7ek d\u00fcnya senaryolar\u0131nda zaman \u00f6l\u00e7\u00fcm\u00fcn\u00fcn nas\u0131l kullan\u0131labilece\u011fini g\u00f6sterir.<\/p>\n<p><strong>Optimizasyon \u0130pu\u00e7lar\u0131:<\/strong><\/p>\n<p>Zaman \u00f6l\u00e7\u00fcm\u00fcn\u00fcn do\u011frulu\u011funu etkileyebilecek fakt\u00f6rler vard\u0131r.  \u00d6rne\u011fin, i\u015fletim sisteminin di\u011fer i\u015flemlerle me\u015fgul olmas\u0131 \u00f6l\u00e7\u00fcmleri etkileyebilir.  Birden fazla \u00f6l\u00e7\u00fcm al\u0131p ortalamas\u0131n\u0131 hesaplamak daha g\u00fcvenilir sonu\u00e7lar verebilir.<\/p>\n<p><strong>\u0130leri Seviye:<\/strong><\/p>\n<p><strong>Performans Analizi:<\/strong>  Bir d\u00f6ng\u00fcn\u00fcn her yinelemesinin s\u00fcresini \u00f6l\u00e7me<\/p>\n<p>Bir d\u00f6ng\u00fc i\u00e7indeki her yinelemenin s\u00fcresini \u00f6l\u00e7mek i\u00e7in a\u015fa\u011f\u0131daki gibi bir yakla\u015f\u0131m kullanabiliriz:<\/p>\n<pre class=\"language-bash\"><code>for i in {1..1000}; do\n  start=$(date +%s%N)\n  # \u0130\u015fte zaman\u0131 \u00f6l\u00e7mek istedi\u011finiz kod blo\u011fu\n  sleep 0.001\n  end=$(date +%s%N)\n  elapsed=$(( (end - start) \/ 1000000 ))\n  echo &quot;Yineleme $i s\u00fcresi: $elapsed milisaniye&quot;\ndone<\/code><\/pre>\n<p>Bu kod, her yinelemenin s\u00fcresini ayr\u0131 ayr\u0131 \u00f6l\u00e7er ve sonu\u00e7lar\u0131 ekrana yazd\u0131r\u0131r.  Bu, performans darbo\u011fazlar\u0131n\u0131 tespit etmek i\u00e7in faydal\u0131d\u0131r.<\/p>\n<p><strong>Edge Case&#8217;ler:<\/strong>  \u00c7ok k\u0131sa i\u015flemlerin \u00f6l\u00e7\u00fclmesi<\/p>\n<p>\u00c7ok k\u0131sa s\u00fcren i\u015flemlerin \u00f6l\u00e7\u00fcm\u00fcnde, zaman \u00f6l\u00e7\u00fcm\u00fcn\u00fcn hassasiyeti \u00f6nemli bir rol oynar.  Nano saniye hassasiyetinde zaman \u00f6l\u00e7\u00fcm\u00fc kullanmak ve \u00f6l\u00e7\u00fcmleri birden fazla kez tekrarlay\u0131p ortalamas\u0131n\u0131 almak daha do\u011fru sonu\u00e7lar verecektir.  Ayr\u0131ca, \u00f6l\u00e7\u00fcm i\u015fleminin kendisinin de s\u00fcreyi etkileyebilece\u011fini unutmamak gerekir.<\/p>\n<p><strong>Performans Optimizasyonu:<\/strong><\/p>\n<p><code class=\"language-\">date +%s%N<\/code> komutu olduk\u00e7a yava\u015ft\u0131r.  Daha y\u00fcksek performans i\u00e7in, <code class=\"language-\">time<\/code> komutu ile birlikte <code class=\"language-\">sh -c<\/code> kullanarak bir alt kabuk \u00e7al\u0131\u015ft\u0131rmak daha h\u0131zl\u0131 sonu\u00e7lar verebilir.  Ancak bu y\u00f6ntem, \u00f6l\u00e7\u00fclen komutun d\u0131\u015f\u0131ndaki i\u015flemlerin s\u00fcresini de i\u00e7erebilir.<\/p>\n<p><strong>Sonu\u00e7<\/strong><\/p>\n<p>Bash&#8217;te milisaniye hassasiyetinde zaman \u00f6l\u00e7\u00fcm\u00fc, \u00e7e\u015fitli uygulamalarda performans analizi ve zamanlama kontrol\u00fc i\u00e7in \u00f6nemlidir.  Bu makalede ele ald\u0131\u011f\u0131m\u0131z y\u00f6ntemler, farkl\u0131 ihtiya\u00e7lara g\u00f6re se\u00e7ilebilir.  <code class=\"language-\">\/proc\/uptime<\/code> dosyas\u0131ndan elde edilen bilgiler, basit zaman \u00f6l\u00e7\u00fcmleri i\u00e7in yeterli olabilirken, daha hassas \u00f6l\u00e7\u00fcmler i\u00e7in <code class=\"language-\">date +%s%N<\/code> komutu kullan\u0131lmal\u0131d\u0131r.  Performans optimizasyonu i\u00e7in, \u00f6l\u00e7\u00fcm y\u00f6ntemini dikkatlice se\u00e7mek ve birden fazla \u00f6l\u00e7\u00fcm al\u0131p ortalamas\u0131n\u0131 hesaplamak \u00f6nemlidir.<\/p>\n<p><strong>S\u0131k\u00e7a Sorulan Sorular:<\/strong><\/p>\n<p>1. <strong>Bash&#8217;te milisaniye hassasiyetinden daha y\u00fcksek bir hassasiyet elde edebilir miyim?<\/strong>  Bash&#8217;in kendi olanaklar\u0131 ile de\u011fil, ancak C gibi d\u00fc\u015f\u00fck seviyeli dillerde yaz\u0131lm\u0131\u015f programlar kullanarak daha y\u00fcksek hassasiyet elde edilebilir.<\/p>\n<p>2. <strong>Zaman \u00f6l\u00e7\u00fcm\u00fcn\u00fc etkileyebilecek fakt\u00f6rler nelerdir?<\/strong> Sistem y\u00fck\u00fc, di\u011fer \u00e7al\u0131\u015fan i\u015flemler ve \u00f6l\u00e7\u00fcm komutunun kendisi zaman \u00f6l\u00e7\u00fcm\u00fcn\u00fc etkileyebilir.<\/p>\n<p>3. <strong>Bir i\u015flemin ortalama s\u00fcresini nas\u0131l hesaplar\u0131m?<\/strong> Birden fazla \u00f6l\u00e7\u00fcm alarak ve bu \u00f6l\u00e7\u00fcmlerin ortalamas\u0131n\u0131 hesaplayarak daha g\u00fcvenilir bir ortalama s\u00fcre elde edebilirsiniz.<\/p>\n<p>4. <strong>\u00c7ok k\u0131sa i\u015flemlerin s\u00fcresini nas\u0131l do\u011fru \u00f6l\u00e7ebilirim?<\/strong> Nano saniye hassasiyetinde zaman \u00f6l\u00e7\u00fcm\u00fc kullanmak ve \u00f6l\u00e7\u00fcmleri birden fazla kez tekrarlay\u0131p ortalamas\u0131n\u0131 almak daha do\u011fru sonu\u00e7lar verecektir.<\/p>\n<p>5. <strong>Daha geli\u015fmi\u015f zamanlama ve performans analizi i\u00e7in hangi ara\u00e7lar\u0131 kullanabilirim?<\/strong> <code class=\"language-\">perf<\/code>, <code class=\"language-\">strace<\/code> ve <code class=\"language-\">systemd-timesyncd<\/code> gibi ara\u00e7lar daha geli\u015fmi\u015f zamanlama ve performans analizi i\u00e7in kullan\u0131labilir.  Daha detayl\u0131 bilgi i\u00e7in [Fatih Soysal&#8217;\u0131n bloguna](https:\/\/fatihsoysal.com) bakabilirsiniz.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# Bash&#8217;te Milisaniye \u00d6l\u00e7\u00fcm\u00fc: Ad\u0131m Ad\u0131m Tam Bir Rehber Bash beti\u011fi yazarken zamanlama kritik \u00f6nem ta\u015f\u0131yor. Bir i\u015flemin&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1328],"tags":[],"class_list":{"0":"post-26205","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-bash","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bash: Milisaniye Cinsinden Zaman Alma (\u00d6rneklerle)<\/title>\n<meta name=\"description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bash: Milisaniye Cinsinden Zaman Alma (\u00d6rneklerle)\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-21T12:45:25+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"Bash: Milisaniye Cinsinden Zaman Alma (\u00d6rneklerle)\",\"datePublished\":\"2025-07-21T12:45:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/\"},\"wordCount\":892,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"Bash\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/\",\"name\":\"Bash: Milisaniye Cinsinden Zaman Alma (\u00d6rneklerle)\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-07-21T12:45:25+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bash: Milisaniye Cinsinden Zaman Alma (\u00d6rneklerle)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Bash: Milisaniye Cinsinden Zaman Alma (\u00d6rneklerle)","description":"Hi\u00e7bir etiketi bulunamad\u0131.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/","og_locale":"tr_TR","og_type":"article","og_title":"Bash: Milisaniye Cinsinden Zaman Alma (\u00d6rneklerle)","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-07-21T12:45:25+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"5 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"Bash: Milisaniye Cinsinden Zaman Alma (\u00d6rneklerle)","datePublished":"2025-07-21T12:45:25+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/"},"wordCount":892,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["Bash"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/","url":"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/","name":"Bash: Milisaniye Cinsinden Zaman Alma (\u00d6rneklerle)","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-07-21T12:45:25+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/bash-milisaniye-cinsinden-zaman-alma-orneklerle\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Bash: Milisaniye Cinsinden Zaman Alma (\u00d6rneklerle)"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/26205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=26205"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/26205\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=26205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=26205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=26205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}